You should try "-" instead of "~" for the ranges in your regular 
expressions (e.g., [0-9a-z]).

Charles

[EMAIL PROTECTED] wrote on 08/30/2007 01:56:52 PM:

> hi,
>  i have a problem, in the scenario,i want to extract this parameter of 
the 
> sip message.
> it include this header
> Contact:<sip:[EMAIL PROTECTED];Dpt=2q5b-13>
> 
> i want to extract "Dpt=2q5b-13" 
> 
> but i can not success to do that
> 
> my way:
> <action><ereg regexp="Dpt=[0~9a~z]{4}\-[0~9]{2}*" search_in="msg" 
> check_it="true" assign_to="1" /
> </action>
> 
> it is fail !! can everyone help me !!!!how to write the regexp?
> thanks!!!!!!!!!!!!!!!!!!
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to