Re: [SR-Users] Regex module having trouble with large regex expressions in kamailio 4.4.5

2017-03-24 Thread Tim Balmer
: [SR-Users] Regex module having trouble with large regex expressions in kamailio 4.4.5 Hello, looking quickly at the code, I see that there is a define of 500 limit for each line loaded from the file, probably it is what the developer considered to be enough for a regexp. I haven't

Re: [SR-Users] Regex module having trouble with large regex expressions in kamailio 4.4.5

2017-03-23 Thread Daniel-Constantin Mierla
Hello, looking quickly at the code, I see that there is a define of 500 limit for each line loaded from the file, probably it is what the developer considered to be enough for a regexp. I haven't gone further checking, as I am out of the office, but I guess it just truncates the longer lines to

[SR-Users] Regex module having trouble with large regex expressions in kamailio 4.4.5

2017-03-23 Thread Tim Balmer
Hi, I discovered some strange behavior from the regex module yesterday (kamailio version 4.4.5). For example we have the phone number 0033755500381 that we try to match with the following kamailio code: #!define REGEX_FF_NEG_INTERNATIONAL"6" ... if (pcre_match_grou