[pLog-svn] r3258 - plog/trunk/class/data/validator/rules

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Apr 18 14:16:31 GMT 2006


Author: jondaley
Date: 2006-04-18 14:16:31 +0000 (Tue, 18 Apr 2006)
New Revision: 3258

Modified:
   plog/trunk/class/data/validator/rules/emailformatrule.class.php
Log:
sorry.  This regexp is case-insensitive, we don't need the A-Z.  I even tested it this time, instead of just coding via phpbb

Modified: plog/trunk/class/data/validator/rules/emailformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emailformatrule.class.php	2006-04-18 14:11:25 UTC (rev 3257)
+++ plog/trunk/class/data/validator/rules/emailformatrule.class.php	2006-04-18 14:16:31 UTC (rev 3258)
@@ -1,7 +1,7 @@
 <?php
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
-    define( "EMAIL_FORMAT_RULE_REG_EXP", "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9]+([.-]?[a-zA-Z0-9])+\.[a-zA-Z]{2,4}");
+    define( "EMAIL_FORMAT_RULE_REG_EXP", "^[a-z0-9_.+-]+@[a-z0-9]+([.-]?[a-z0-9])+\.[a-z]{2,4}");
 
     define( "ERROR_RULE_EMAIL_FORMAT_WRONG", "error_rule_email_format_wrong");
 



More information about the pLog-svn mailing list