diff --git a/src/lib/isMobilePhone.js b/src/lib/isMobilePhone.js index 8a4a3062a..0a7cf365a 100644 --- a/src/lib/isMobilePhone.js +++ b/src/lib/isMobilePhone.js @@ -101,7 +101,7 @@ const phones = { 'it-IT': /^(\+?39)?\s?3\d{2} ?\d{6,7}$/, 'it-SM': /^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/, 'ja-JP': /^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/, - 'ka-GE': /^(\+?995)?(5|79)\d{7}$/, + 'ka-GE': /^(\+?995)?(79\d{7}|5\d{8})$/, 'kk-KZ': /^(\+?7|8)?7\d{9}$/, 'kl-GL': /^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/, 'ko-KR': /^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/, diff --git a/test/validators.js b/test/validators.js index 98a09063a..e4f6548e3 100644 --- a/test/validators.js +++ b/test/validators.js @@ -7247,18 +7247,19 @@ describe('Validators', () => { { locale: 'ka-GE', valid: [ - '+99550001111', - '+99551535213', + '+995500011111', + '+995515352134', '+995798526662', '798526662', - '50001111', + '500011119', '798526662', '+995799766525', ], invalid: [ - '+995500011118', + '+99550001111', '+9957997665250', - '+995999766525', + '+9959997665251', + '+995780011111', '20000000000', '68129485729', '6589394827',