-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Describe the bug
Currently Georgian phone regexp looks like this:
'ka-GE': /^(+?995)?(5|79)\d{7}$/,
Examples
But in this time phone started with +995 5... validator is missing one digit:
https://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia_(country)
thus,
+995 500 000 000 is a real phone number that is not valid from the point of view of the regular expression
while in this time
+995 500 000 00 isn't a real numer, but valid here
At the same time, numbers starting with +995 79.. currently validates correctly
Additional context
Validator.js version: latest
Node.js version: doesn't matter
OS platform: [windows, linux, macOS, etc]: doesn't matter