Commit 050a424
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 9347d6d commit 050a424
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 | |
|---|---|---|---|
| |||
8056 | 8056 | | |
8057 | 8057 | | |
8058 | 8058 | | |
| 8059 | + | |
| 8060 | + | |
| 8061 | + | |
| 8062 | + | |
| 8063 | + | |
| 8064 | + | |
| 8065 | + | |
| 8066 | + | |
| 8067 | + | |
| 8068 | + | |
| 8069 | + | |
| 8070 | + | |
| 8071 | + | |
| 8072 | + | |
| 8073 | + | |
| 8074 | + | |
| 8075 | + | |
| 8076 | + | |
| 8077 | + | |
| 8078 | + | |
8059 | 8079 | | |
8060 | 8080 | | |
8061 | 8081 | | |
| |||
0 commit comments