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

Adds lookbehind support #2049

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

arcanis
Copy link

@arcanis arcanis commented Oct 1, 2024

This PR attempts to fix an error that occurs when using lookbehind expressions within tokens:

Error: Unable to use "first char" lexer optimizations:

	Failed parsing: < /(?<=[:=<>])[a-zA-Z_]\w*(?=[:=<>])/ >
	Using the @chevrotain/regexp-to-ast library
	Please open an issue at: https://github.com/chevrotain/chevrotain/issues

Ref: bd82/regexp-to-ast#84
Ref: bd82/regexp-to-ast#129

@bd82
Copy link
Member

bd82 commented Oct 3, 2024

looks like the CI build is broken, I'll try to fix

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