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

Fix literal numerics regex highlights #239

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

ds-cbo
Copy link
Contributor

@ds-cbo ds-cbo commented Feb 14, 2024

In the migration from lua-match to match in #225 you seem to have made some slight errors:

  • integers can have signs too

  • with [] syntax to mean "one of" you don't need the | (that's only needed if you use round parentheses (-|\+)), now it would match the |1.2 literal as a float, which seems wrong

@DerekStride DerekStride merged commit 4ffda1f into DerekStride:main Feb 14, 2024
4 checks passed
@ds-cbo ds-cbo deleted the patch-1 branch February 15, 2024 11:09
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.

2 participants