[Freeswitch-users] LUA pattern again

Michael Collins msc at freeswitch.org
Thu Apr 21 19:22:12 MSD 2011


Try this pattern:
"(7?3435)?230%d%d%d

-MC

On Thu, Apr 21, 2011 at 12:59 AM, Boris Kovalenko <boris at tagnet.ru> wrote:

>  Hello!
>
> After your message I found that and my regex is invalid too :)  No, I need:
>
> 73435230xxx
> 3435230xxx
> 230xxx
>
>
>
> So you want all these to match?
> 73435230xxx
> 7230xxx
> 3435230xxx
> 230xxx
>
>  Just confirming...
> -MC
>
> On Thu, Apr 21, 2011 at 12:01 AM, Boris Kovalenko <boris at tagnet.ru> wrote:
>
>> Hello!
>>
>>     May somebody help me how to write regex ^7?(3435)?230\d{3} with LUA
>> pattern? I've tried ^7?3435?230%d%d%d and this is wrong.
>>
>> --
>> С уважением,
>>   Борис Коваленко
>>   ЗАО "Тагнет"
>>   тел. +7 (3435) 230001
>>   факс +7 (3435) 230005
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> --
> С уважением,
>   Борис Коваленко
>   ЗАО "Тагнет"
>   тел. +7 (3435) 230001
>   факс +7 (3435) 230005
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110421/d6b40c32/attachment-0001.html 


More information about the FreeSWITCH-users mailing list