Commit 6e485a3
fix(isMobilePhone): regex for Pakistan(PK) (#1778)
* Fix Mobile Phone Regex Pakistan(PK)
Update the regex to validate mobile numbers correctly for Pakistan
* Add tests for mobile number validation locale en-PK (Pakistan)
* Linting fix
* Update src/lib/isMobilePhone.js
Update pakistan mobile regex according to suggestion
Co-authored-by: Sarhan Aissi <[email protected]>
* Update tests for PK phone numbers
Co-authored-by: Sarhan Aissi <[email protected]>1 parent 594ce01 commit 6e485a3
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8080 | 8080 | | |
8081 | 8081 | | |
8082 | 8082 | | |
| 8083 | + | |
| 8084 | + | |
| 8085 | + | |
| 8086 | + | |
| 8087 | + | |
| 8088 | + | |
| 8089 | + | |
| 8090 | + | |
| 8091 | + | |
| 8092 | + | |
| 8093 | + | |
| 8094 | + | |
| 8095 | + | |
| 8096 | + | |
| 8097 | + | |
| 8098 | + | |
| 8099 | + | |
| 8100 | + | |
| 8101 | + | |
| 8102 | + | |
8083 | 8103 | | |
8084 | 8104 | | |
8085 | 8105 | | |
| |||
0 commit comments