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

Generate verbose syntax from regexp #35

Closed
antonkomarev opened this issue Sep 7, 2016 · 1 comment
Closed

Generate verbose syntax from regexp #35

antonkomarev opened this issue Sep 7, 2016 · 1 comment

Comments

@antonkomarev
Copy link

It would be great to have inverse behavior.

User provides:

/^([A-Z0-9._%+-])+@[A-Z0-9.-]+\.[A-Z]{2,}$/i

Output:

begin with any of (digit, letter, one of "._%+-") once or more,
literally "@",
any of (digit, letter, one of ".-") once or more,
literally ".",
letter at least 2,
must end, case insensitive
@KarimGeiger
Copy link
Member

Duplicate of #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants