You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug, caused by my misreading or misunderstanding one of the rules in Unicode Annex 29, way back when I implemented \X. I'm a bit surprised it's taken so long for it to hit anybody. Furthermore, the documentation correctly describes what the code does, but it's not what it's supposed to do! (Somewhere I even noted a difference from Perl, but never investigated.) I hope to have this fixed in HEAD in the next day or two. This is a very timely issue because the 10.44 release will be forthcoming once this fix is done. Thanks for the report.
Activity
PhilipHazel commentedon Jun 3, 2024
This is a bug, caused by my misreading or misunderstanding one of the rules in Unicode Annex 29, way back when I implemented \X. I'm a bit surprised it's taken so long for it to hit anybody. Furthermore, the documentation correctly describes what the code does, but it's not what it's supposed to do! (Somewhere I even noted a difference from Perl, but never investigated.) I hope to have this fixed in HEAD in the next day or two. This is a very timely issue because the 10.44 release will be forthcoming once this fix is done. Thanks for the report.
Fix bug in \X matching too many characters. Fixes issue #410.
Ayesh commentedon Jun 5, 2024
Thank you. I tested after commit 067c2f1, it worked correctly!
[PHP 8.4][Intl] Add `grapheme_str_split`
ext/pcre: update to PCRE2 v10.44
[PHP 8.4][Intl] Add `grapheme_str_split`
ext/pcre: update to PCRE2 v10.44 (#14498)
[PHP 8.4][Intl] Add `grapheme_str_split`
[PHP 8.4][Intl] Add `grapheme_str_split`
[PHP 8.4][Intl] Add `grapheme_str_split`
7 remaining items
[PHP 8.4][Intl] Add `grapheme_str_split`
[PHP 8.4][Intl] Add `grapheme_str_split`
feature #483 [PHP 8.4][Intl] Add `grapheme_str_split` (Ayesh)
[PHP 8.4][Intl] Add `grapheme_str_split`
[PHP 8.4][Intl] Add `grapheme_str_split`
[PHP 8.4][Intl] Add `grapheme_str_split`
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
[Grapheme] Fix grapheme cluster splitting on PCRE < 10.44
bug #616 Fix grapheme_str_split() on PCRE 8 (GPHemsley)
bug #616 Fix grapheme_str_split() on PCRE 8 (GPHemsley)