DrHyde / perl-modules-Number-Phone

Number::Phone and friends
24 stars 32 forks source link

Number::Phone stubs use wrong regexes from libphonenumber #7

Closed DrHyde closed 12 years ago

DrHyde commented 12 years ago

Clemens Schrimpe wrote:

While using it, I found, that it isn't using the "latest" database from Google's libphonenumber to generate its stubs. I happen to presently stay in a place in Germany, whose area code is 33082 (5 digits) and when I throw my local number (+493308250565) at Number::Phone is "formats" it as "3308 250565" instead of "33082 50565"

Lara Rennie wrote:

Re the formatting issue: the way it works is that you are always supposed to use only the last of the "leading digits" information supplied for each pattern.

DrHyde commented 12 years ago

Fixed in 2.0002