[Asterisk-Users] regexp

Mimmus dviggiani at tiscali.it
Wed May 17 01:00:25 MST 2006


> First, you can remove the quotes aorund your variable 
> reference.  I've seen examples with it, but you don't need 
> it.  
I'm not sure: if variable is empty, you got an error.
In addition, double quotes around text that may contain spaces
will force the surrounded text to be evaluated as a single token.

> Second, I'm not sure what the tilde does after the equal 
> sign, but asterisk won't understand it.  
What? 
':' and '=~' are regexp operators in Asterisk.


Regards
DV




More information about the asterisk-users mailing list