Is re2j able to combine multiple regex into one?
Open
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
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://github.com/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.
Contributor guide
Assessment
This issue has not been assessed yet.