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