Hello,

I have been using PCRE library to validate strings against regular expressions. 
Now I wish to upgrade to PCRE2 but I am facing issue with below given regular 
expression.

Regular expression: 
([1-9][0-9]{2,5}[[:space:]-]{1})([0-9]{2,6}[[:space:]-]{1})([0-9]{2,6})([[:space:]-]{1}[0-9]{1,3})?

This expression gets compiled with PCRE, however compiling it with PCRE2 gives 
error.
The error ‘ERR50’ occurs in function ‘parse_regex’.

Could you please let me know if it is a bug or intentional change?

Regards,
Saylee
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to