Iñaki Baz Castillo escreveu:
2009/6/19 Edson - Lists <4lists(a)gmail.com>om>:
Try
if (uri=~"^sip:d") {
Note that this would match the following URI (with no username):
sip:domain.org
I would prefer:
if ( $rU =~ "^d" )
Yep... a better one:
if (uri=~"^sip:d[0-9]+@") {
but, all this is only about REGEX and which part used on comparison, so,
either one would work... one more restrictive than other...
Edson.