-
Notifications
You must be signed in to change notification settings - Fork 77
RegExp backreferences #933
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestregexpWe use WTF-8 but RegExp engines expect either UTF-8 or UTF-16We use WTF-8 but RegExp engines expect either UTF-8 or UTF-16
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestregexpWe use WTF-8 but RegExp engines expect either UTF-8 or UTF-16We use WTF-8 but RegExp engines expect either UTF-8 or UTF-16
Currently, attempting to use a RegExp with backreferences throws an error:
error: backreferences are not supportedThey might seem niche and not-very-often used, but that unfortunately breaks much more stuff than one could expect
They are used in https://www.npmjs.com/package/get-intrinsic, which in turn is chain-required by things like:
In Node.js, it is supported back to at least 0.8