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

[RegExp] dotAll flag #792

Closed
brettz9 opened this issue Mar 28, 2020 · 1 comment
Closed

[RegExp] dotAll flag #792

brettz9 opened this issue Mar 28, 2020 · 1 comment

Comments

@brettz9
Copy link

brettz9 commented Mar 28, 2020

As it does not seem that core-js polyfills the RegExp constructor to handle the s flag, I'm wondering whether you might be willing to depend on https://github.com/mathiasbynens/regexpu-core (using its dotAllFlag: true), rewriting the pattern to work compatibly?

Might help with #521 also (the namedGroup: true option).

@zloirock
Copy link
Owner

zloirock commented Apr 9, 2021

I'll think about it. It could be simple enough.

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

No branches or pull requests

2 participants