Open
Description
Other than the set of supported properties, there are some key differences between XRegExp’s handling of \p{…}
and the way they work in native JS.
- Native
\p{…}
doesn’t implement loose matching; only strict, case-sensitive matches for canonical property names and values (or their aliases) are accepted - In native
\p{…}
,Block
s are not supported - Native
\p{…}
doesn’t support for theIn
prefix or any other prefix (although since XRegExp only does this forBlock
s, droppingBlock
support already resolves this) - Native
\p{…}
supportsScript_Extensions
which is generally more useful thanScript
Technically these are all breaking changes, but IMHO we should consider aligning with native property escapes.