|
@ -638,7 +638,7 @@ $.fn.form.settings = { |
|
|
}, |
|
|
}, |
|
|
email: function(value){ |
|
|
email: function(value){ |
|
|
var |
|
|
var |
|
|
emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?") |
|
|
|
|
|
|
|
|
emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", "i") |
|
|
; |
|
|
; |
|
|
return emailRegExp.test(value); |
|
|
return emailRegExp.test(value); |
|
|
}, |
|
|
}, |
|
|