Skip to content

Commit 079c113

Browse files
authored
Correct ar-PS validation
1 parent 3a6edef commit 079c113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/isMobilePhone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const phones = {
1414
'ar-LY': /^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,
1515
'ar-MA': /^(?:(?:\+|00)212|0)[5-7]\d{8}$/,
1616
'ar-OM': /^((\+|00)968)?(9[1-9])\d{6}$/,
17-
'ar-PS': /^(\+?970|0)5[8|9](\d{7})$/,
17+
'ar-PS': /^(\+?970|0)5[6|9](\d{7})$/,
1818
'ar-SA': /^(!?(\+?966)|0)?5\d{8}$/,
1919
'ar-SY': /^(!?(\+?963)|0)?9\d{8}$/,
2020
'ar-TN': /^(\+?216)?[2459]\d{7}$/,

0 commit comments

Comments
 (0)