[Sipp-users] RegExp: Finding nth occurence?

2008-08-29 Thread Venkat Narasimhan
Is there a way to find the nth occurance of a regexp in msg  

for example, I may need to find how many times the following match occurs

ereg regexp=a=cparmin: search_in=msg assign_to=15/


Send instant messages to your online friends http://uk.messenger.yahoo.com -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] RegExp: Finding nth occurence?

2008-08-29 Thread Charles P Wright
No.

Charles

[EMAIL PROTECTED] wrote on 08/29/2008 08:12:03 AM:

 Is there a way to find the nth occurance of a regexp in msg  
 
 for example, I may need to find how many times the following match 
occurs
 
 ereg regexp=a=cparmin: search_in=msg assign_to=15/
 
 Send instant messages to your online friends 
http://uk.messenger.yahoo.com 
 
-
 This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
prizes
 Grand prize is a trip for two to an Open Source event anywhere in the 
world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Sipp-users mailing list
 Sipp-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sipp-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] RegExp: Finding nth occurence?

2008-08-29 Thread Jeff Wright
Perhaps you can use the regular expression syntax {m,n} to find what you want.  
{m,n} forces a match of m through n (inclusive) occurrences of the preceding 
regular expression.  See documentation on regexp for information on more 
advanced topics like these.

Personally, I just use SIPp to generate the traffic I want, and I don't even 
bother trying to use SIPp to search through the results.  I end up capturing 
the packets in Wireshark and then parsing them there after the fact.

Jeffrey Wright
System Test Engineering Manager
Aztek Networks, Inc.



-Original Message-
From: [EMAIL PROTECTED] on behalf of Venkat Narasimhan
Sent: Fri 8/29/2008 6:12 AM
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] RegExp: Finding nth occurence?
 
Is there a way to find the nth occurance of a regexp in msg  

for example, I may need to find how many times the following match occurs

ereg regexp=a=cparmin: search_in=msg assign_to=15/


Send instant messages to your online friends http://uk.messenger.yahoo.com 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users