catamphetamine / libphonenumber-js

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
https://catamphetamine.gitlab.io/libphonenumber-js/
MIT License
2.79k stars 216 forks source link

GB phone numbers starting 07624* are not being parsed as valid GB number #231

Closed timt closed 6 years ago

timt commented 6 years ago

Observe behaviour in libphonenumber-js demo: Entered phone number 07624369230 and country GB Demo shows number as inValid (see screen shot) screen shot 2018-07-24 at 13 36 02

Observe behaviour on Googles libphonenumber demo page show that this isValid https://libphonenumber.appspot.com/phonenumberparser?number=07624369230&country=GB

catamphetamine commented 6 years ago

Use uppercase. I'll update demo to force uppercase.

image