[Freeswitch-users] [FS Unable to evaluate large regex]

Bilal Abbasi bilaln018 at gmail.com
Tue Dec 20 20:32:28 MSK 2016


Hi users,
i am getting some weird regex problem with my FS, if you have your regex
length in more then 3000 characters if does not accept that in the
condition, i split my regex in around 2000 characters, now i can see that
FS is unable to resolve the Below Regex in the condition( i have a lot of
other concatenated with that)

^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$

But when i try that alone in the condition that works, i even tried to
execute the whole in online regex tester and that did worked, but not
working on FS.
There must be a length of regex in condition that FS can evaluate,
So
i) i want to know that length so i can split my regex even shorter.and FS
can evaluate that.
ii) How FS people will look into this issue, so they can guide/fix this
issue.

Regards
Abbasi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/ccde0bb8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list