php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65651 Since PCRE 8.32, \X does not match (?>\PM\pM*)
Submitted: 2013-09-11 12:00 UTC Modified: 2013-09-11 20:26 UTC
From: nicolas dot grekas+php at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nicolas dot grekas+php at gmail dot com
New email:
PHP Version: OS:

 

 [2013-09-11 12:00 UTC] nicolas dot grekas+php at gmail dot com
Description:
------------
http://php.net/manual/en/regexp.reference.unicode.php says that \X matches (?>\PM\pM*)

But since PCRE 8.32, \X matches Unicode's definition of an Extended Grapheme Cluster.

See http://bugs.exim.org/show_bug.cgi?id=1279


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-11 12:01 UTC] nicolas dot grekas+php at gmail dot com
PCRE 8.32 is bundled in PHP since 5.4.14
 [2013-09-11 20:26 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=331343
Log: Update the \X documentation to reflect the new behaviour in PCRE ≥ 8.32.

Fixes doc bug #65651 (Since PCRE 8.32, \X does not match (?>\PM\pM*)).
 [2013-09-11 20:26 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 [2013-09-11 20:26 UTC] aharvey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 10:01:33 2024 UTC