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

Add extra digit on Oman country code #2502

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomcastro
Copy link

According to Wikipedia , phone numbers in Oman start with +968, then a 7 or a 9 followed by 7 digits. The current regex only allows 9 as a prefix, which fails with newer phone numbers. This PR adds the extra digit to be allowed.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

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

Successfully merging this pull request may close these issues.

2 participants