Commit 29134a9
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 #2497
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9fa1e3a commit 29134a9
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 | |
|---|---|---|---|
| |||
11094 | 11094 | | |
11095 | 11095 | | |
11096 | 11096 | | |
| 11097 | + | |
| 11098 | + | |
| 11099 | + | |
| 11100 | + | |
| 11101 | + | |
| 11102 | + | |
| 11103 | + | |
11097 | 11104 | | |
11098 | 11105 | | |
11099 | 11106 | | |
| |||
0 commit comments