Open mischnic opened 3 years ago
https://babeljs.io/docs/en/babel-plugin-transform-unicode-regex is probably also related
👍
Regex transforms (unicode, dotall, named-capturing-groups) probably should be implemented together. They are implemented using a shared createRegExpFeaturePlugin
helper in babel:
Up
Describe the feature
Transpile regexp unicode property escapes
Example
Babel plugin or link to the feature description
https://babeljs.io/docs/en/babel-plugin-proposal-unicode-property-regex
https://github.com/tc39/proposal-regexp-unicode-property-escapes
Babel REPL
https://mothereff.in/regexpu