Skip to content

Support d flag #86

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

Open
RebeccaStevens opened this issue Feb 29, 2024 · 0 comments
Open

Support d flag #86

RebeccaStevens opened this issue Feb 29, 2024 · 0 comments

Comments

@RebeccaStevens
Copy link

Any regex using the d flag is reported.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags

Ideally, this should be fixed in the upstream, but as the d flag doesn't really change how the regex executes, a workaround could be to simply remove the d flag before passing to the optimize library.

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

No branches or pull requests

1 participant