Skip to content

Feature/add support for wildcard operator#95

Merged
Saibo-creator merged 2 commits into
epfl-dlab:mainfrom
nathanrchn:feature/add-support-for-wildcard-operator
Sep 19, 2024
Merged

Feature/add support for wildcard operator#95
Saibo-creator merged 2 commits into
epfl-dlab:mainfrom
nathanrchn:feature/add-support-for-wildcard-operator

Conversation

@nathanrchn

Copy link
Copy Markdown
Contributor

This PR adds support for the wildcard operator.

The wildcard operator allow all the chars except '\n'. To do so, I allow the ranges: [0, ord('\n') - 1] U [ord('\n') + 1, max_ord].

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

Here we follow the convention that : Most regular expression dialects define . as any character except newline

@Saibo-creator
Saibo-creator merged commit f01e3d5 into epfl-dlab:main Sep 19, 2024
@nathanrchn
nathanrchn deleted the feature/add-support-for-wildcard-operator branch September 19, 2024 06:36
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