2009/7/20 sankara rao bhogi <sankara....@sun.com>:
>
> Does any one know the regular expression for SIP URI?  I know, from ABNF
> you can create regex, but I don't want to scracth my head.

Are you looking for a regular expression to match if a string is a
correct SIP URI?
Don't do it as a SIP URI is *really complex* and the regular
expression would be *really* long (I did it some time ago and it takes
more than 50 lines).

You must use a SIP parser instead of a regula expression.

-- 
Iñaki Baz Castillo
<i...@aliax.net>

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to