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
fix: preserve /u flag for regex patterns using Unicode property escapes
The __sanitizeCheckForJs method was unconditionally stripping the PCRE
/u modifier from regex patterns before passing them to JavaScript.
This broke patterns using Unicode property escapes (\p{...}), which
require the /u flag in JavaScript as well.
The fix now only strips /u when the pattern does not contain \p{...}
escapes. Also adds ext-mbstring as an explicit composer requirement.
references #193