Commit 6c1a29a
committed
fix: (isMobilePhone) add El Salvador validation
* Solve issue with wrong validation on El Salvador mobile phones
* update tests accordingly
in order to define the right regEx, the following site was
consulted.
https://www.siget.gob.sv/guia-de-servicios/consulta-el-plan-de-numeracion/numeros-moviles/1 parent a1a6677 commit 6c1a29a
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7164 | 7164 | | |
7165 | 7165 | | |
7166 | 7166 | | |
7167 | | - | |
7168 | | - | |
7169 | | - | |
7170 | | - | |
7171 | | - | |
7172 | | - | |
7173 | | - | |
| 7167 | + | |
| 7168 | + | |
| 7169 | + | |
| 7170 | + | |
| 7171 | + | |
| 7172 | + | |
| 7173 | + | |
| 7174 | + | |
7174 | 7175 | | |
7175 | 7176 | | |
| 7177 | + | |
| 7178 | + | |
| 7179 | + | |
7176 | 7180 | | |
7177 | 7181 | | |
7178 | 7182 | | |
| |||
0 commit comments