Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

rezk2ll
Copy link
Contributor

@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

@rubiin rubiin requested a review from WikiRik March 16, 2025 13:26
@WikiRik WikiRik changed the title 🐛 fix(isMobilePhone): fix Cyprus mobile phone numbers validation fix(isMobilePhone): improve el-CY locale Mar 26, 2025
@WikiRik WikiRik requested a review from rubiin March 26, 2025 21:07
@rubiin rubiin merged commit ab18093 into validatorjs:master Mar 27, 2025
10 checks passed
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

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.