[Serusers] Quick question on pattern matching in the uri variable
Edson - Lists
4lists at gmail.com
Wed Sep 30 21:53:05 CEST 2009
The expression in case is a REGEX, so '+' is not an special character
for SER, but for the REGEX-matching engine used by SER. The same applies
to '*' and others...
Edson.
Frank Durda IV escreveu:
> Norman Brandinger wrote:
>> Try escaping the +.
>>
>> uri =~ "^sip:\+1.*"
>
> That worked, Thanks!
>
> Where is it documented in the various SER documentation
> that "+" is a special character that needs
> escaping, and what does '+' do when not escaped?
>
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list