From 3a8f633a7ea132e2fb1741a2008b10fd2dc3350c Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Sun, 14 Jun 2009 10:44:07 +0200 Subject: [PATCH] Some minor comment changes --- system/classes/validate.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/classes/validate.php b/system/classes/validate.php index ea857e5..e50e4d8 100644 --- a/system/classes/validate.php +++ b/system/classes/validate.php @@ -39,7 +39,7 @@ class Validate extends ArrayObject { * Checks a field against a regular expression. * * @param string value - * @param string regular expression to match + * @param string regular expression to match (including delimeters) * @return boolean */ public static function regex($value, $expression) @@ -72,7 +72,7 @@ class Validate extends ArrayObject { } /** - * Check a email address for correct format. + * Check an email address for correct format. * * @see http://www.iamcal.com/publish/articles/php/parsing_email/ * @see http://www.w3.org/Protocols/rfc822/ @@ -657,7 +657,7 @@ class Validate extends ArrayObject { unset($filters[TRUE], $rules[TRUE], $callbacks[TRUE]); // Execute the filters - + foreach ($filters as $field => $set) { // Skip empty fields