-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
Hi! 👋
We're facing an issue in the Symfony repository in the CI: https://ci.appveyor.com/project/fabpot/symfony/builds/48712798
The problems comes from the Grapheme Cluster polyfill when the php-intl
extension is not available. This polyfill uses the \X
matcher of PCRE to get the length of a unicode string. However, it seems the it dosen't work with symbols. Indeed, for the following sequence:
☢☎❄
The \X
matcher returns a length of 1, where 3 is expected. Here's the reproducer: https://3v4l.org/C0UuO. As you can see, the $matches
array only returns 1 result containing all three symbols.
Metadata
Metadata
Assignees
Labels
No labels