Commit 44224d7
authored
fix(isMobilePhone): fix el-GR validation - add missing ranges and correctly exclude certain ranges (#2112)
* fix(isMobilePhone): el-GR RegExp fixed
update the RegExp to correctly match (and exclude) number ranges as per official ITU numbering plan:
https://web.archive.org/web/20221205170159/https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000550002PDFE.pdf
fixes #2111
* tests: update tests for fixed el-GR RegExp
belongs to #21111 parent a571b3e commit 44224d7
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7761 | 7761 | | |
7762 | 7762 | | |
7763 | 7763 | | |
7764 | | - | |
7765 | 7764 | | |
| 7765 | + | |
| 7766 | + | |
| 7767 | + | |
| 7768 | + | |
| 7769 | + | |
| 7770 | + | |
| 7771 | + | |
| 7772 | + | |
| 7773 | + | |
| 7774 | + | |
| 7775 | + | |
| 7776 | + | |
| 7777 | + | |
| 7778 | + | |
| 7779 | + | |
7766 | 7780 | | |
7767 | 7781 | | |
7768 | 7782 | | |
| |||
7772 | 7786 | | |
7773 | 7787 | | |
7774 | 7788 | | |
| 7789 | + | |
| 7790 | + | |
| 7791 | + | |
| 7792 | + | |
| 7793 | + | |
| 7794 | + | |
7775 | 7795 | | |
7776 | 7796 | | |
7777 | 7797 | | |
| |||
0 commit comments