Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone Number Parse Fail #47

Open
frogtd opened this issue Jul 1, 2022 · 2 comments
Open

Phone Number Parse Fail #47

frogtd opened this issue Jul 1, 2022 · 2 comments
Labels

Comments

@frogtd
Copy link

frogtd commented Jul 1, 2022

I tried to parse "+1 520-878-2491" but it fails at parsing with an invalid country code.

The Java and JavaScript libphonenumber do parse this correctly, and slight variations in this also parse correctly (e.g. "+1 520 878 2491" parses correctly).

@direc85
Copy link
Collaborator

direc85 commented Apr 17, 2023

The library has been updated recently; does validation still fail for that number?

@rubdos
Copy link
Member

rubdos commented Apr 18, 2023

I think this is basically a duplicate of #46; i.e., the national number format does not parse. I just tried to parse this on #52, and it still does not.

rubdos added a commit that referenced this issue Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants