Browse Source

Merge pull request #4602 from vlakoff/not_regex

[5.6] Add message for "Not Regex" validation rule
Taylor Otwell 6 years ago
parent
commit
f013a48879
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/lang/en/validation.php

+ 1 - 0
resources/lang/en/validation.php

@@ -65,6 +65,7 @@ return [
         'array'   => 'The :attribute must have at least :min items.',
     ],
     'not_in'               => 'The selected :attribute is invalid.',
+    'not_regex'            => 'The :attribute format is invalid.',
     'numeric'              => 'The :attribute must be a number.',
     'present'              => 'The :attribute field must be present.',
     'regex'                => 'The :attribute format is invalid.',