Hi I think you should use the “occurance” option within search regexp action
Regards, Evgeny Miloslavsky Systest Engineer Juniper Networks Solutions Israel LTD. Office: 972-9-9717320/2355 ________________________________ From: 刘鹏 [mailto:[email protected]] Sent: Monday, January 19, 2009 3:49 AM To: [email protected] Cc: 杜子丹 Subject: [Sipp-users] Regexp problem with Multy-Header Hi All, Anyone ever comes up with this problem: There are 3 "Route:" field in the header section. I want to get the value of the last 2. When I tried to use 3 regular expressions to match them, it didn't work in the way which I want it to. "Route:<1...>" was matched 3 times while "Route:<2...>" and "Route:<3...>" never. INVITE sip:[email protected]:5180;user=phone SIP/2.0 Via:SIP/2.0/UDP 10.71.110.184:5460;branch=z9hG4bK-1-0 Route:<1...> Route:<2...> Route:<3...> PS. I am NOT in the maillist, so when you reply this mail please make me a copy.TKS:) Regards. 刘鹏(Liu Peng) Tel: 86 755 28977012 华为技术有限公司 地址:深圳市龙岗区坂田华为基地 邮编:518129 http://www.huawei.com ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
<<image001.jpg>>
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
