[pcre-dev] PCRE2-10.23: Issue with 'pcre2_compile'
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Aquest missatge és part del següent fil:
l'arbre de fils complet ordenat per data
Petr Pisar en
2017-07-12 05:32
Autor:
Saylee
Data:
2017-07-11 10:09
UTC
A:
pcre-dev
Assumpte:
[pcre-dev] PCRE2-10.23: Issue with 'pcre2_compile'
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