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

Invalid regionCode returned by parsePhoneNumber #128

Open
Omelyan opened this issue Feb 2, 2025 · 0 comments
Open

Invalid regionCode returned by parsePhoneNumber #128

Omelyan opened this issue Feb 2, 2025 · 0 comments

Comments

@Omelyan
Copy link

Omelyan commented Feb 2, 2025

parsePhoneNumber("+888")

returns

{"number": {"input": "+888"}, "possibility": "invalid-country-code", "possible": false, "regionCode": "001", "shortPossible": false, "shortValid": false, "valid": false}

and

getExample("001")

will crash.

version: 7.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant