-
Notifications
You must be signed in to change notification settings - Fork 42
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
Regression in renovate regex comprehension #518
Comments
Thanks for filling this! I'm starting to regret not doing more research before choosing Unicode mode as the default. With these issues cropping up, I'm doubting that decision a bit. To keep churn in the project to a minimum, I'll most likely mark the renovate hook as nonunicode in the next release (possibly today, if I can get some time). I want to look at why that pattern fails though -- it's not obvious to me why the Unicode mode regex engine fails it. Maybe something about the capture group? |
I just checked using my browser and the issue with that regex is that there's an improper escape, This might be evidence of the 0.31.0 update catching a (trivial) mistake in your usage? But if the regex works in renovate then they're probably not evaluating regexes in Unicode mode. So I think that (since renovate is implemented in JS), I'll proceed with the change in hook config, to try to match their implementation. |
Good catch, but i agree with your planned outcome anyway. |
Similar to #516 and with a similar workaround I can't update to the newest (
0.31.0
)check-jsonschema
via pre-commit due to this regression in renovate.Example renovate.json
Verification that its fixed with nonunicode
Environment Details
(Though I don't think the environment matters in this case)
The text was updated successfully, but these errors were encountered: