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 support for character classes #158

Closed
taymonbeal opened this issue Apr 1, 2017 · 1 comment
Closed

Add support for character classes #158

taymonbeal opened this issue Apr 1, 2017 · 1 comment
Labels
feature Something not supported that perhaps should be

Comments

@taymonbeal
Copy link

It would be useful to support character classes such as [:space:].

@kevinmehall kevinmehall added the feature Something not supported that perhaps should be label Apr 1, 2017
@kevinmehall
Copy link
Owner

0.6.0 replaces the regex-style character sets with the same syntax as a Rust match arm. So you can do this with [x if x.is_whitespace()].

#201 is a similar request that could provide a more concise syntax for common character classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something not supported that perhaps should be
Projects
None yet
Development

No branches or pull requests

2 participants