[Users] regular expression

samuel samu60 at gmail.com
Mon Apr 10 11:22:07 CEST 2006


* is a reserved char within regexp so you have to scape it in order to
check wether the uri contains the asterisk:
Change:
           ^sip:*86[0-9]*@

For:
           ^sip:\*86[0-9]*@

2006/4/10, Jayesh Nambiar <voip_freak at yahoo.co.in>:
> hi all,
> I want to match the ruri "*86". Can someone please help me with the regular
> expression to match this.
> When I do "^sip:*86[0-9]*@", it does not match this expression.
> Can you also point me to some link which explains well about how to write
> regular expressions.
> thank you..
>
> jayesh
>
>  ________________________________
>  Jiyo cricket on Yahoo! India cricket
>  Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>




More information about the Users mailing list