Added "match" validation rule for regular expression checks.

This commit is contained in:
Taylor Otwell
2012-03-21 13:40:52 -05:00
parent afb33c1775
commit 52091bda5f
2 changed files with 13 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ return array(
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
"match" => "The :attribute format is invalid.",
"max" => array(
"numeric" => "The :attribute must be less than :max.",
"file" => "The :attribute must be less than :max kilobytes.",