Red Hat Bugzilla – Bug 619124
pcre behavior change
Last modified: 2013-02-05 18:56:13 EST
`pcre' package has been rebased to 7.8 version. It brings following behavior changes:
* UTF-8 checking is now as per RFC 3629 instead of RFC 2279; this is more
restrictive in the strings it accepts.
E.g., UTF-8 character ordinal value is limited to 0x0010FFFF value now:
$ echo -ne "\x00\x11\xff\xff" | recode UCS-4-BE..UTF8 | pcregrep --utf-8 '.'
pcregrep: pcre_exec() error -10 while matching this line:
See <http://tools.ietf.org/html/rfc3629#section-12> for more details.
* Saved patterns that were compiled by earlier versions of PCRE must be
This affects applications that serialize precompiled PCRE expressions to
external memory (e.g. a file) and load them later (for performance reasons
usually, like large spam filters).
Have added this to the guide, changes will appear on the next publish.
Thanks for the specific details, Petr! It's appreciated.