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

refactor: improve implementation of regex repetitions #218

Merged
merged 7 commits into from
Oct 8, 2024

Conversation

plusvic
Copy link
Member

@plusvic plusvic commented Oct 7, 2024

This introduces 2 new instructions in the PikeVM: RepeatGreedy and RepeatNonGreedy. These instructions are used for implementing repetitions that are larger than 10, reducing the size of the compiled regex and avoiding errors.

@plusvic plusvic merged commit c6800d0 into regex-repetitions Oct 8, 2024
24 checks passed
@plusvic plusvic deleted the refactor-regexp-repetitions branch October 8, 2024 10:14
plusvic added a commit that referenced this pull request Oct 8, 2024
This introduces 2 new instructions in the PikeVM: RepeatGreedy and RepeatNonGreedy. These instructions are used for implementing repetitions that are larger than 10, reducing the size of the compiled regex and avoiding errors.
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.

1 participant