8000 Fixes the validation error message for regex validation rule · OrganizedCode/laravel@c45ef54 · GitHub
[go: up one dir, main page]

Skip to content

Commit c45ef54

Browse files
committed
Fixes the validation error message for regex validation rule
1 parent 79d18a3 commit c45ef54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lang/en/validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"in" => "The selected :attribute is invalid.",
3838
"integer" => "The :attribute must be an integer.",
3939
"ip" => "The :attribute must be a valid IP address.",
40-
"match" => "The :attribute format is invalid.",
4140
"max" => array(
4241
"numeric" => "The :attribute must be less than :max.",
4342
"file" => "The :attribute must be less than :max kilobytes.",
@@ -51,6 +50,7 @@
5150
),
5251
"notin" => "The selected :attribute is invalid.",
5352
"numeric" => "The :attribute must be a number.",
53+
"regex" => "The :attribute format is invalid.",
5454
"required" => "The :attribute field is required.",
5555
"required_with" => "The :attribute field is required when :values is present.",
5656
"same" => "The :attribute and :other must match.",

0 commit comments

Comments
 (0)
0