Skip to content

Commit b36590f

Browse files
authored
fix (isMobilePhone): add Guinea phone number validation
1 parent 90c19e8 commit b36590f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/isMobilePhone.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ const phones = {
161161
'ar-EH': /^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,
162162
'fa-AF': /^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/,
163163
'mk-MK': /^(\+?389|0)?((?:2[2-9]\d{6}|(?:3[1-4]|4[2-8])\d{6}|500\d{5}|5[2-9]\d{6}|7[0-9][2-9]\d{5}|8[1-9]\d{6}|800\d{5}|8009\d{4}))$/,
164+
'fr-GN': /^(\+?224|0)(6[0-356]\d{7}|722\d{6})$/,
164165
};
165166
/* eslint-enable max-len */
166167

0 commit comments

Comments
 (0)