[Freeswitch-users] regexp with LUA script
Boris Kovalenko
boris at tagnet.ru
Tue Apr 19 07:15:12 MSD 2011
Hello!
Thank You, Michael! I'll try your recipe.
>
>
> On Mon, Apr 18, 2011 at 9:35 AM, Boris Kovalenko <boris at tagnet.ru
> <mailto:boris at tagnet.ru>> wrote:
>
> Hello!
>
> Yes, I know about LUA native patterns. Unfortunatelly I can't
> (or don't know how to) do something like:
> \d{4,6} or \d{10,}
>
>
> \d{4,6} is "%d%d%d%d%d?%d?"
>
> \d{10,} is "%d%d%d%d%d%d%d%d%d%d+"
>
> At first glance that may seem inelegant, however, it is far more
> efficient than trying to send a regex through an api:execute call.
>
> -MC
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
? ?????????,
????? ?????????
??? "??????"
???. +7 (3435) 230001
???? +7 (3435) 230005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110419/0c6e8485/attachment.html
More information about the FreeSWITCH-users
mailing list