-
Notifications
You must be signed in to change notification settings - Fork 177
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
Make it possible to use RE2J instead of java.util.regexp #78
Comments
com.google.re2j re2j 1.7 runtime |
can you provide more information about the purpose of this feature request? are you concerned about the runtime performance of matching user-agent strings? I'm a little hesitant to make uap-java have a hard dependency on re2j since it would require all users to pull in another lib (which may have its own transitive dependencies... although honestly I haven't looked that deep to see if re2j depends on anything). how would you envision this working? |
Hi Page https://swtch.com/~rsc/regexp/regexp3.html#caveats describes sets of features which are not supported The main goal for developing it is that RE2 provides stronger guarantees on execution time than and enables high-level analyses that would be difficult or impossible with ad hoc implementations |
Hm
Does it mean that RE2 is already implemented? |
the code you referenced is a javascript unit test in the other repo named uap-core. I don’t know why they’re checking for entries that are unsupported by the go runtime. |
As I See it works if only change imports so we need to create a factory for Pattern/Matcher and adaptors
The text was updated successfully, but these errors were encountered: