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

printing/parsing discrepancy for character classes with colon #80

Closed
ceedubs opened this issue Jul 8, 2019 · 0 comments · Fixed by #90
Closed

printing/parsing discrepancy for character classes with colon #80

ceedubs opened this issue Jul 8, 2019 · 0 comments · Fixed by #90
Labels
bug Something isn't working

Comments

@ceedubs
Copy link
Owner

ceedubs commented Jul 8, 2019

Currently the pretty printer will print a character class containing a colon as [:]. However, the parser will reject this, because when it sees [: it expects a POSIX character class.

It may not make sense to accept POSIX character classes, since we aren't actually doing anything sensitive to the locale. Maybe \p expressions would make more sense.

@ceedubs ceedubs added the bug Something isn't working label Jul 8, 2019
ceedubs added a commit that referenced this issue Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant