Skip to content
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

Work around Oniguruma bug in TM grammar regex #210

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

slevithan
Copy link
Contributor

Fixes #209. A bug in Oniguruma was preventing this regex from ever matching (more details in the linked issue). This change works around the bug by simply changing . to [^\n] (which is identically equivalent in Oniguruma, where \n is the only newline char).

@rosshamish rosshamish self-requested a review December 28, 2024 01:59
@rosshamish
Copy link
Owner

Looks good to me! Appreciate the contribution. Good luck with the project.

@rosshamish rosshamish merged commit 2628495 into rosshamish:master Dec 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regex for entity.function.name.lambda.kusto triggers an Oniguruma bug
2 participants