You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Fri, Nov 20, 2020, 18:49 Ruben De Smet ***@***.***> wrote:
let n = "0032474123456";assert!(phonenumber::parse(None, n).is_ok());
I would expect this to yield +32474123456, but it seemingly does not: it
yields InvalidCountryCode (which could've parsed as Belgium instead).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#29>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2HJEILTRPIODFRZQIPFP3SQ2T2XANCNFSM4T5CJ76A>
.
On Fri, Nov 20, 2020, 21:09 Philipp Korber ***@***.***> wrote:
This matches the behavior of the official Google libphonenumber Java
library.
I will investigate it anyway as it seems a bit strange.
On Fri, Nov 20, 2020, 18:49 Ruben De Smet ***@***.***>
wrote:
> let n = "0032474123456";assert!(phonenumber::parse(None, n).is_ok());
>
> I would expect this to yield +32474123456, but it seemingly does not: it
> yields InvalidCountryCode (which could've parsed as Belgium instead).
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#29>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB2HJEILTRPIODFRZQIPFP3SQ2T2XANCNFSM4T5CJ76A>
> .
>
I would expect this to yield
+32474123456
, but it seemingly does not: it yieldsInvalidCountryCode
(which could've parsed as Belgium instead).The text was updated successfully, but these errors were encountered: