[Users] using regular expressions in switch case
Jayesh Nambiar
voip_freak at yahoo.co.in
Wed Mar 14 08:26:45 CET 2007
Hi,
First of all congratulations to all the contributors for releasing 1.2.0.
I was just wondering if regular expressions can be used inside case " ----" syntax.
Example:
switch($ruri.user) {
case "1[0-9]" :
route(10);
}
Any help would be appreciated.
w/regards,
Jayesh
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070314/647ad926/attachment.htm
More information about the Users
mailing list