On 5 January 2015 at 17:57, Jean-Christophe Deschamps <[email protected]> wrote: > 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.
What do you mean? \w changes matching from ASCII to the Unicode property if you compile the pattern with PCRE2_UCP (*). Those are configure-time options to build PCRE2 itself with or without Unicode/UCP support. (*) and if you're afraid of a (*UCP) inside a pattern, then there's PCRE2_NEVER_UCP to always disable UCP. Cheers, -- Giuseppe D'Angelo -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
