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

Simplify the regular expression from CharClass.union() #15

Open
numeralnathan opened this issue Jul 17, 2021 · 0 comments
Open

Simplify the regular expression from CharClass.union() #15

numeralnathan opened this issue Jul 17, 2021 · 0 comments

Comments

@numeralnathan
Copy link

numeralnathan commented Jul 17, 2021

Let's say I have the following code CharClass.union(CharClass.digit(), ','). Currently, it makes this regular expression: [\d[,]]. Please simplify to [\d,].

This will make it easier for humans to read the regular expression.

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

No branches or pull requests

1 participant