diff --git a/app/Http/Requests/ProfileSearchRequest.php b/app/Http/Requests/ProfileSearchRequest.php index af9de6c..aa7218e 100644 --- a/app/Http/Requests/ProfileSearchRequest.php +++ b/app/Http/Requests/ProfileSearchRequest.php @@ -29,9 +29,9 @@ public function rules(): array 'string', // letters, marks, numbers, spaces, commas, periods, dashes, // and non-consecutive apostrophes that are preceded and followed by a letter - "regex:/^([\p{L}\p{M}\p{N}\p{Zs},\.-]|(?<=[\p{L}])'(?!')(?=[\p{L}]))*$/u", + "regex:/^([\p{L}\p{M}\p{N}\p{Zs},\.\/&\(\)-]|(?<=[\p{L}])'(?!')(?=[\p{L}]))*$/u", 'min:3', - 'max: 100', + 'max: 150', ], ]; }