Skip to content

Some EE numbers are not validating properly #141

@jesse-starrs

Description

@jesse-starrs

code chunk in question - /lib/index.js:182

Not that Wikipedia is a very reliable inforamtion source, but it does say that patterns 81xxxxxx-87xxxxxx should be recognized as mobile phone numbers. (https://en.wikipedia.org/wiki/Telephone_numbers_in_Estonia)

Currently numbers within a range of patterns 8126xxxx-8128xxxx are showing the following:

{
  "number": {
    "input": "+37281261234"
  },
  "regionCode": "EE",
  "valid": false,
  "possible": true,
  "type": "unknown",
  "typeIsMobile": false,
  "typeIsFixedLine": false
}

Is there any specific source of information that the regular expressions are based on which might be shared? Seems oddly specific exclusion, especially when there are some real numbers that can't go through validation using this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions