Re: [pcre-dev] PCRE2 is released

Startseite
Nachricht löschen
Autor: Jean-Christophe Deschamps
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] PCRE2 is released

>2. Note that --enable-utf and --enable-ucp have been amalgamated into
>--enable-unicode, and this is now the default.


While this seems reasonnable at the first look, linking of these
options has one unfortunate drawback: it dramatically changes the
semantics of \w, \W, \b etc. and previously working patterns over UTF
strings could produce different results.

If the two options remain merged, at least a (*NOUCP) possibility
should be offered to maintain backward compatibility.