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

Regexp options should render nicely #84

Open
blanquer opened this issue Sep 24, 2014 · 0 comments
Open

Regexp options should render nicely #84

blanquer opened this issue Sep 24, 2014 · 0 comments

Comments

@blanquer
Copy link
Contributor

Currently, dumping a Regexp object as JSON produces a not very human friendly string:

Regexp.new(/yoyo/).to_s
"(?-mix:yoyo)"

We might need to use our own Regexp classes for these options, that can more easily display themselves as strings.
Note: We might want to use Mustermann for that too, something to explore.

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