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: [email protected]
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=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users