Re: [pcre-dev] PCRE2 is released

トップ ページ
このメッセージを削除
著者: Jean-Christophe Deschamps
日付:  
To: pcre-dev
題目: 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.