-
Notifications
You must be signed in to change notification settings - Fork 381
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
[Improvement] Improve greedy regular expressions #3088
Comments
How about change it to |
This variable is solely utilized within the |
I think that sounds like a better approach. If you have time, try it out and see what needs to change. |
Hi @justinmclean |
…ions for DorisExceptionConverter (apache#3120) ### What changes were proposed in this pull request? apache#3088 ### Why are the changes needed? In DorisExceptionConverter.java we have a greedy regular expression that could potentially cause issues Fix: apache#3088 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? IT&UT Co-authored-by: Qi Yu <[email protected]>
What would you like to be improved?
In DorisExceptionConverter.java we have a greedy regular expression that could potentially cause issues.
How should we improve?
Change the regular expression to not be greedy or don't use a regular expression.
The text was updated successfully, but these errors were encountered: