Hello!

    Thank You, Michael! I'll try your recipe.


On Mon, Apr 18, 2011 at 9:35 AM, Boris Kovalenko <boris@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@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