rickharrison/validate.js

Error in email regex

madvik opened this issue · 4 comments

The email regex, line 58 is not correct for australian email like : thing@thing.com.au

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.

Oh sorry, it's a mistak, I don't understand.However I test on your demo website.

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.