Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transpile regexp unicode property escapes #1649

Open
mischnic opened this issue May 6, 2021 · 4 comments
Open

Transpile regexp unicode property escapes #1649

mischnic opened this issue May 6, 2021 · 4 comments

Comments

@mischnic
Copy link
Contributor

mischnic commented May 6, 2021

Describe the feature

Transpile regexp unicode property escapes

const IDENTIFIER_RE = /\p{ID_Start}/u;
console.log(IDENTIFIER_RE)

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

@mischnic
Copy link
Contributor Author

mischnic commented May 6, 2021

@shirazz
Copy link

shirazz commented Nov 8, 2021

👍

@chentsulin
Copy link

chentsulin commented Jan 15, 2022

Regex transforms (unicode, dotall, named-capturing-groups) probably should be implemented together. They are implemented using a shared createRegExpFeaturePlugin helper in babel:

@kdy1 kdy1 added this to the Planned milestone Mar 12, 2022
@kdy1 kdy1 modified the milestones: Planned, v1.2.199 Jun 11, 2022
@sigorilla
Copy link

Up

@kdy1 kdy1 modified the milestones: Planned, Planned (Low priority) Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants