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

Implement RegExp v flag #90

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Conversation

raskad
Copy link
Collaborator

@raskad raskad commented Feb 26, 2024

This PR implements the RegExp v flag.

  • Add 'v' flag.
  • Add parsing for ClassSetExpression in v mode.
  • Add 262 tests for v mode.
  • Add some custom tests for v mode.
  • Refactor unicode properties into CodePointSet to enable optimizations.
  • Remove special instructions for unicode property lookup at runtime.
  • Remove possible panics from unicode property parsing functions.
  • Add unicode tables for unicode string properties.
  • Remove unbound recursion in Node operations.

@raskad raskad marked this pull request as ready for review February 26, 2024 23:23
@raskad raskad merged commit 0108770 into master Feb 26, 2024
7 checks passed
@raskad raskad deleted the unicode-properties-as-codepointsets branch February 26, 2024 23:31
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