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

Add regex #65

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

KyleJamesWalker
Copy link
Contributor

Description

Add support for regex matching.

Issues Resolved

  • Support regex ~=

Check List

  • All tests pass.
  • New functionality includes testing.
  • New functionality has been documented in the README if applicable

@KyleJamesWalker
Copy link
Contributor Author

KyleJamesWalker commented Dec 14, 2022

Note: This is currently limited and needs to better support escaped values, and a way to pass flags to the re.match function. Without this there is not a clean way to search for \s (any whitespace), or case insensitive searches.

I don't know the antlr4 syntax well enough to extend the parser to include these in the lexer.

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