changeset 242 | ce2873735506 |
parent 238 | f948557af068 |
child 254 | f49e3c8b638c |
--- a/includes/clientside/static/misc.js Wed Nov 28 14:46:03 2007 -0500 +++ b/includes/clientside/static/misc.js Wed Nov 28 14:47:42 2007 -0500 @@ -634,6 +634,6 @@ function validateEmail(email) { - return ( email.match(/^(?:[\w\d]+\.?)+@((?:(?:[\w\d]\-?)+\.)+\w{2,4}|localhost)$/) ) ? true : false; + return ( email.match(/^(?:[\w\d_-]+\.?)+@((?:(?:[\w\d_-]\-?)+\.)+\w{2,4}|localhost)$/) ) ? true : false; }