Commit e70c98f9 by resurtm

Email validator regexp typo fix.

parent 992e9028
...@@ -139,7 +139,7 @@ yii.validation = (function ($) { ...@@ -139,7 +139,7 @@ yii.validation = (function ($) {
var valid = true; var valid = true;
if (options.enableIDN) { if (options.enableIDN) {
var regexp = /^([^:]+):\/\/([^\/]+)(.*)?/, var regexp = /^([^:]+):\/\/([^\/]+)(.*)$/,
matches = regexp.exec(value); matches = regexp.exec(value);
if (matches === null) { if (matches === null) {
valid = false; valid = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment