[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
Ce message fait partie du fil suivant :
Arborescence complète du fil triée par date
Petr Pisar à
2017-07-12 05:32
Auteur:
Saylee
Date:
2017-07-11 10:09
UTC
À:
pcre-dev
Sujet:
[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