We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4eecd commit d6cede5Copy full SHA for d6cede5
src/Rules/IranianMobile.php
@@ -61,7 +61,7 @@ public function __construct(
61
*/
62
public function validate(string $attribute, mixed $value, Closure $fail): void
63
{
64
- $extendPattern = '(0[1-5]|[1 3]\d|2[0-2]|98)\d{7}';
+ $extendPattern = '(0[0-5]|1[0-9]|2[0-3]|3[0-9]|9[0-9])\d{7}';
65
$formatPatterns = [
66
'zero_code' => "00989{$extendPattern}",
67
'plus_code' => "\+989{$extendPattern}",
0 commit comments