Re: [pcre-dev] PCRE2 is released

Top Page
Delete this message
Author: Jean-Christophe Deschamps
Date:  
To: pcre-dev
Subject: 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.