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
Yeah, it's only fixed in PCRE 10.44 (I was the one who reported).
This is worked around in the proposed grapheme_str_splitPR. I don't think there is a way to overcome this, apart from skipping the assertions on older PCRE2 versions.
See CI jobs for PHP 7.3+ which are failing a test when using the polyfill:
\X
does not split those as separate grapheme clusters.The text was updated successfully, but these errors were encountered: