summaryrefslogtreecommitdiffstats
path: root/system/language
diff options
context:
space:
mode:
authorDan Horrigan <dan@dhorrigan.com>2010-12-15 16:16:38 +0100
committerDan Horrigan <dan@dhorrigan.com>2010-12-15 16:16:38 +0100
commit2280e8ea67f94e67f2c803e804fb1b8125b579b0 (patch)
tree174f127e3e8858a7620b05557cb34b77c5afc4b7 /system/language
parent65d603e03d3befd6e4f13361c78ab454ea57ba70 (diff)
Added the regex_match Form Validation rule. Had to change how the rules are split so that no regex breaks the rule splitting.
Diffstat (limited to 'system/language')
-rw-r--r--system/language/english/form_validation_lang.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/language/english/form_validation_lang.php b/system/language/english/form_validation_lang.php
index 99ed70a5c..b01885091 100644
--- a/system/language/english/form_validation_lang.php
+++ b/system/language/english/form_validation_lang.php
@@ -15,6 +15,7 @@ $lang['alpha_dash'] = "The %s field may only contain alpha-numeric characters,
$lang['numeric'] = "The %s field must contain only numbers.";
$lang['is_numeric'] = "The %s field must contain only numeric characters.";
$lang['integer'] = "The %s field must contain an integer.";
+$lang['regex_match'] = "The %s field is not in the correct format.";
$lang['matches'] = "The %s field does not match the %s field.";
$lang['is_natural'] = "The %s field must contain only positive numbers.";
$lang['is_natural_no_zero'] = "The %s field must contain a number greater than zero.";