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

Allow + symbols on emails, eg. [email protected] #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neojp
Copy link

@neojp neojp commented Apr 16, 2012

No description provided.

@markstos
Copy link

This simple patch has still not merged. Valid plus signs in emails are still not getting through:

http://inchoo.net/ecommerce/magento/how-many-email-addresses-do-you-have-for-your-dev-magento-site/

var emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;

if ('[email protected]'.match(emailRegex)) {
    console.log("true");
}
else {
    console.log("false");
}

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

Successfully merging this pull request may close these issues.

3 participants