-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix: modified regex to use RE2 #12025
fix: modified regex to use RE2 #12025
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked config folder
@viceice I think there are advantages to leaving the current regex positioning as-is - including inside for loops - for easier review and backwards compatibility. But then should we create an issue to elevate any regexes inside loops to be outside the loop? |
Yes, that was the idea. Sorry if it wasn't clear enough. |
@RahulGautamSingh please re-request a review once it's ready. The goals are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got through 15/36 files before finding a lot of TODO #12070
which I have doubts about
Ok, I will try going through the rest soon. I hadn't expected #12070 to have so many |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good except vscode settings
Needs deconflicting? |
Yes. I created the new branch using this one so, all the changes made to this branch are already present in the other one. Therefore, unless this branch gets merged the changes will appear in the new branch and then conflicts. |
I'm confused. Which PR do you need merged first? |
This one needs to be merged first. |
Hey @rarkins @viceice ,
|
@RahulGautamSingh can you update this PR to include on such example where the snapshots need updating? Then it's easier for us to understand and decide |
@rarkins This PR is okay to be merged and needs no further changes. |
@rarkins It's been 4 hours since |
Branches need to be up to date |
🎉 This PR is included in version 28.1.7 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
Updated regex of these sub-folders:
lib/config
lib/constants
lib/datasource
to use RE2 using
regEx
function fromlib/util/regex
Context:
fixes #11875
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: