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
{{ message }}
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
We could reserve a shortcut of the form \p{Word} but that would cause a conflict if a property with that name is ever added to the Unicode Standard — something we cannot predict. We could make it \p{_Word} to make future collisions less likely but that’s kind of ugly.
It seems to me that the best we can do now is expose the primitives to let developers build equivalent regular expressions, which this proposal does.
The Unicode-aware replacement for
\w
is very verbose and undiscoverable. There should be a shortcut syntax.The text was updated successfully, but these errors were encountered: