Bug 619124

Summary: pcre behavior change
Product: Red Hat Enterprise Linux 6 Reporter: Petr Pisar <ppisar>
Component: doc-Migration_GuideAssignee: Laura Bailey <lbailey>
Status: CLOSED NEXTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: syeghiay
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-28 21:24:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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
  recompiled.

  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.