Bug 619124 - pcre behavior change
Summary: pcre behavior change
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Migration_Guide   
(Show other bugs)
Version: 6.0
Hardware: All Linux
Target Milestone: rc
: ---
Assignee: Laura Bailey
QA Contact: ecs-bugs
Keywords: Documentation
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-28 15:54 UTC by Petr Pisar
Modified: 2013-02-05 23:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-07-28 21:24:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Petr Pisar 2010-07-28 15:54:56 UTC
`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).

Comment 2 Scott Radvan 2010-07-28 21:24:27 UTC
Have added this to the guide, changes will appear on the next publish.

Thanks for the specific details, Petr! It's appreciated.

Note You need to log in before you can comment on or make changes to this bug.