-
Notifications
You must be signed in to change notification settings - Fork 160
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
Is re2j able to combine multiple regex into one? #14
Comments
I agree that that feature would be interesting. maybe by only adding the support of the groupNames, we could create something like and with the list of group names, we could know what has matched Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basically, if there is a large number of regular expression, it can be quite slow to match target strings. So I am looking for solutions to "compile" many regular expressions into "one".
https:/fulmicoton/multiregexp provides a solution to build a large DFA based on each DFA built from each regex. However, it has many limitations - only a subset of regex is supported.
Is there a way to achieve what I want using re2j? I tried hard but could not find related info.
Thanks in advance.
The text was updated successfully, but these errors were encountered: