Skip to content

support browser without "Unicode property escapes"#3

Open
TennyZhuang wants to merge 1 commit intokufii:masterfrom
TennyZhuang:fix-regexp
Open

support browser without "Unicode property escapes"#3
TennyZhuang wants to merge 1 commit intokufii:masterfrom
TennyZhuang:fix-regexp

Conversation

@TennyZhuang
Copy link

@TennyZhuang TennyZhuang commented May 14, 2020

Accoring to https://caniuse.com/#search=Unicode%20property%20escapes, Firefox has not yet supported Unicode property escapes, bug tracking issue here.

And sql-formatter-plus use new RegExp syntax instead of regexp literal, so that babel-plugin-proposal-unicode-property-regex doesn't work here.

This PR use regexpu-core to rewrite the pattern, so that it works on Firefox. It can be reverted after firefox stable support the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant