Skip to content

Commit

Permalink
Back porting #4905, thanks Jean-Marie!
Browse files Browse the repository at this point in the history
  • Loading branch information
rvbgnu committed Nov 5, 2014
1 parent ef1724e commit feb6ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion media/system/js/validate-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var JFormValidator = new Class({

this.setHandler('email',
function (value) {
regex=/^[a-zA-Z0-9.!#$%&’*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]{2,})$/;
regex=/^[a-zA-Z0-9.!#$%&’*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
return regex.test(value);
}
);
Expand Down
2 changes: 1 addition & 1 deletion media/system/js/validate.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit feb6ce4

Please sign in to comment.