Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.174. pcre

Updated pcre packages that fix four bugs are now available for Red Hat Enterprise Linux 6.
The pcre packages provide the Perl-compatible regular expression (PCRE) library.

Bug Fixes

Prior to this update, matching patterns with repeated forward reference failed to match if the first character was not repeated at the start of the matching text. This update modifies the matching algorithm not to expect the first character again. Now, patterns with repeated forward references match as expected.
Prior to this update, case-less patterns in UTF-8 mode did not match characters at the end of input text with encoding length that was shorter than the encoding length of character in the pattern, for example "/ⱥ/8i".This update modifies the pcre library to count the length of matched characters correctly. Now, case-less patterns match characters with different encoding length correctly even at the end of an input string.
Prior to this update, manual pages for the pcre library contained misprints. This update modifies the manual pages.
Prior to this update, applications that were compiled with the libpcrecpp library from the pcre version 6 could not been executed against libpcrecpp library from the pcre version 7 because the application binary interface (ABI) was mismatched. This update adds the compat RE::Init() function for the pcre version 6 to the pcre version 7 libpcrecpp library. Applications that were compiled on Red Hat Enterprise Linux 5 and use the RE::Init function can now be executed on Red Hat Enterprise Linux 6.
All users of pcre are advised to upgrade to these updated packages, which fix these bugs.