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

added phone number regex #2396

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

Conversation

DOOMSDAY101
Copy link

@DOOMSDAY101 DOOMSDAY101 commented May 7, 2024

I added some regex for phone numbers for some countries that are not listed on the src/lib/isMobile.js
Examples: Canada, India and I also corrected some of the regex validation for some countries that were not correct.
Issue #1761

Checklist

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

@rubiin
Copy link
Member

rubiin commented May 9, 2024

@DOOMSDAY101 could you provide references . also write a description on the change

@rubiin rubiin added the 🧹 needs-update For PRs that need to be updated before landing label May 9, 2024
@DOOMSDAY101
Copy link
Author

DOOMSDAY101 commented May 9, 2024

@DOOMSDAY101 could you provide references . also write a description on the change

Done ✅

Thanks 🙏

@rubiin
Copy link
Member

rubiin commented May 10, 2024

@DOOMSDAY101 can you add tests and update readme too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 needs-update For PRs that need to be updated before landing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants