[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
Tämä viesti kuuluu seuraavaan säikeeseen:
Näytä säikeen viestit aikajärjestyksessä
Petr Pisar
2017-07-12 05:32
Lähettäjä:
Saylee
Päiväys:
2017-07-11 10:09
UTC
Vastaanottaja:
pcre-dev
Aihe:
[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