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

🐛 fix(isMobilePhone): fix Cyprus mobile phone numbers validation #2514

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rezk2ll
Copy link

@rezk2ll rezk2ll commented Jan 7, 2025

changes

updated the isMobilePhone function to validate Cyprus mobile phone numbers correctly:

  • updated the Regex to account for 97 95 94 missing mobile phone prefixes.

valid Cyprus mobile phone numbers

Screenshot from 2025-01-07 09 06 27

Checklist

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

closes #2513

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.

isMobilePhone does not validate Cyprus mobile phone numbers correctly
1 participant