includes/clientside/static/misc.js
changeset 295 f948557af068
parent 281 db8d5111ad20
child 304 e2cb5f1432c8
child 315 f49e3c8b638c
--- a/includes/clientside/static/misc.js	Sun Nov 25 19:23:50 2007 -0500
+++ b/includes/clientside/static/misc.js	Sun Nov 25 20:24:16 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;
 }