[pLog-svn] r794 - plog/trunk/class/data/validator/rules
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Jan 23 13:22:39 GMT 2005
Author: oscar
Date: 2005-01-23 13:22:38 +0000 (Sun, 23 Jan 2005)
New Revision: 794
Modified:
plog/trunk/class/data/validator/rules/emailformatrule.class.php
Log:
email address such as a at whatever.com were not being accepted as valid while they should be (I think!!)
Modified: plog/trunk/class/data/validator/rules/emailformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emailformatrule.class.php 2005-01-22 16:59:45 UTC (rev 793)
+++ plog/trunk/class/data/validator/rules/emailformatrule.class.php 2005-01-23 13:22:38 UTC (rev 794)
@@ -2,7 +2,7 @@
include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
- define( "EMAIL_FORMAT_RULE_REG_EXP", "^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}");
+ define( "EMAIL_FORMAT_RULE_REG_EXP", "^[a-z0-9]*([-_\.]?[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