Commit d25559b
authored
* fix(isMobilePhone): fix invalid RegExp for dv-MV
The RegExp and corresponding tests were testing a wrong format.
Correct format can be found in the numbering plan:
https://web.archive.org/web/20220614004138/https://cam.gov.mv/docs/Numbering_plan.pdf
fixes issue #2101
* test(isMobilePhone): fix tests for dv-MV RegExp
associated with issue #2101
1 parent f97e8d4 commit d25559b
2 files changed
+19
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9495 | 9495 | | |
9496 | 9496 | | |
9497 | 9497 | | |
9498 | | - | |
9499 | | - | |
9500 | | - | |
9501 | | - | |
| 9498 | + | |
| 9499 | + | |
| 9500 | + | |
| 9501 | + | |
| 9502 | + | |
| 9503 | + | |
| 9504 | + | |
| 9505 | + | |
| 9506 | + | |
| 9507 | + | |
| 9508 | + | |
| 9509 | + | |
9502 | 9510 | | |
9503 | 9511 | | |
9504 | 9512 | | |
9505 | 9513 | | |
9506 | 9514 | | |
9507 | | - | |
9508 | | - | |
9509 | 9515 | | |
| 9516 | + | |
| 9517 | + | |
| 9518 | + | |
| 9519 | + | |
| 9520 | + | |
| 9521 | + | |
9510 | 9522 | | |
9511 | 9523 | | |
9512 | 9524 | | |
| |||
0 commit comments