Commit 5f20ea1
committed
fix(isMobilePhone): fix mk-MK regex to correctly validate Macedonian mobile numbers
The previous regex used `7[0-9][2-9]\d{5}` which incorrectly restricted
the third digit to 2-9, causing valid mobile numbers like +38970123456
and 070123456 (070-079 range) to fail validation. Fixed to `7[0-9]\d{6}`
to allow all valid Macedonian mobile operator prefixes.
Fixes #24971 parent 4b11938 commit 5f20ea1
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11108 | 11108 | | |
11109 | 11109 | | |
11110 | 11110 | | |
| 11111 | + | |
| 11112 | + | |
| 11113 | + | |
| 11114 | + | |
| 11115 | + | |
| 11116 | + | |
| 11117 | + | |
11111 | 11118 | | |
11112 | 11119 | | |
11113 | 11120 | | |
| |||
0 commit comments