Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

netteForms: allowed international chars in top level domain name for …

…email validator
  • Loading branch information...
commit 2315f35d15333536179202ce95f4f4c23731c9a0 1 parent 76bd890
David Grudl dg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  client-side/forms/netteForms.js
2  client-side/forms/netteForms.js
View
@@ -169,7 +169,7 @@ Nette.validators = {
},
email: function(elem, arg, val) {
- return (/^[^@\s]+@[^@\s]+\.[a-z]{2,10}$/i).test(val);
+ return (/^[^@\s]+@[^@\s]+\.[a-z\u00C0-\u02FF\u0370-\u1EFF]{2,10}$/i).test(val);
},
url: function(elem, arg, val) {
Please sign in to comment.
Something went wrong with that request. Please try again.