Closed
Description
Describe the feature
I want to use this package, but I never want to use the re2
package. However, the re2
package may be in node_modules
even if I don't depend on it. So whether it's used, is out of my control.
I have my own way of ensuring safety, and re2
is problematic, as the regex it returns is not a proper RegExp instance.
It would be useful with an option to force using normal RegExp
.
Checklist
- I have searched through GitHub issues for similar issues.
- I have completely read through the README and documentation.