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

Grammar: Fix capture taking first character for open group #45

Closed
wants to merge 1 commit into from

Conversation

Cthuflu
Copy link

@Cthuflu Cthuflu commented Mar 25, 2024

Pattern capture for begin for some entries will incidentally capture the first character, resulting in a separate token.

Instead, it should follow the other capture patterns and use a lookahead group to not incidentally capture the first character of any match.

This should fix Issue #44

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.

None yet

1 participant