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 lexing @10 in user codes correctly #88

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

makenowjust
Copy link
Contributor

A regexp /@(\d)+/ seems wrong because this only captures the last digit in $1. It may not be intended.

This fixes the regexp and also adds new test cases for some tokens in user codes.

A regexp `/@(\d)+/` seems wrong because this only captures the last digit in
`$1`. It may not be intended.

This fixes the regexp and also adds new test cases for some tokens in user
codes.
@yui-knk yui-knk merged commit 47b3912 into ruby:master Aug 22, 2023
@yui-knk
Copy link
Collaborator

yui-knk commented Aug 22, 2023

Thank you!!

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