From c45ef54c5867fec7e604d652b2bc13012370fbb6 Mon Sep 17 00:00:00 2001 From: Bering Date: Fri, 22 Feb 2013 17:25:49 -0500 Subject: [PATCH] Fixes the validation error message for regex validation rule --- app/lang/en/validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lang/en/validation.php b/app/lang/en/validation.php index a67a1148..1d0fb8c0 100644 --- a/app/lang/en/validation.php +++ b/app/lang/en/validation.php @@ -37,7 +37,6 @@ "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.", @@ -51,6 +50,7 @@ ), "notin" => "The selected :attribute is invalid.", "numeric" => "The :attribute must be a number.", + "regex" => "The :attribute format is invalid.", "required" => "The :attribute field is required.", "required_with" => "The :attribute field is required when :values is present.", "same" => "The :attribute and :other must match.",