Error in email regex
madvik opened this issue · 4 comments
madvik commented
The email regex, line 58 is not correct for australian email like : thing@thing.com.au
madvik commented
rickharrison commented
It works on this page: http://rickharrison.github.io/validate.js/
I think you are using a custom email regex that might not be working.
madvik commented
Oh sorry, it's a mistak, I don't understand.However I test on your demo website.
madvik commented
I understand, an error appear when I paste the email a space is add at the end: "hgigih@machinmail.com.au "
A trim() is not apply on the string.