[Freeswitch-users] Regular expressions

Simon Perreault simon.perreault at viagenie.ca
Mon Jun 23 07:20:42 PDT 2008


On Monday 23 June 2008 10:09:36 Anthony Minessale wrote:
> @([^:]*)
>
> no that is not me swearing cos of all the emails, that's the regex.
>
> again try the "info" app to see that most of the relevant uris are already
> cut up into variables for you.

Why not be IPv6-ready? Use

@(\[[^\]]*\]|[^:]*)

instead! :)

-- 
Please try Numb, a STUN/TURN server implementation.
Free access at http://numb.viagenie.ca/.




More information about the FreeSWITCH-users mailing list