Skip to content

Georgian phone number validation bug #1950

@avkvak

Description

@avkvak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions