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

Email regex should use \A and \z instead of $ ^ #62

Closed
mintuhouse opened this issue Mar 31, 2016 · 0 comments
Closed

Email regex should use \A and \z instead of $ ^ #62

mintuhouse opened this issue Mar 31, 2016 · 0 comments

Comments

@mintuhouse
Copy link

http://stackoverflow.com/questions/577653/difference-between-a-z-and-in-ruby-regular-expressions

owst added a commit to owst/mailchecker that referenced this issue Apr 15, 2016
- Add tests to ensure valid emails surrounded by spaces or newlines are
  considered invalid.
- Remove the ^/$ anchors from the templated regexp to allow
  language-specific anchors (e.g. \A \z in Ruby).
- Remove spurious strip from input to Python implementation.
owst added a commit to owst/mailchecker that referenced this issue Apr 15, 2016
- Add tests to ensure otherwise valid emails surrounded by spaces or
  newlines are considered invalid.
- Remove the ^/$ anchors from the templated regexp to allow
  language-specific anchors (e.g. \A \z in Ruby).
- Remove spurious strip from input to Python implementation.
FGRibreau added a commit that referenced this issue Apr 21, 2016
…nvalid

[Fix #62] Emails with spaces/newlines are invalid
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