-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(isMobilePhone): Add South Sudan Locale And Prefix(SS) #2084
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #2084 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 104 104
Lines 2328 2328
Branches 584 584
=========================================
Hits 2328 2328
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hello all, After reading the provided reference, I think the RegExp is too permissive currently and would match invalid phone numbers as well. According to the reference above, there are only 4 valid "mobile access codes":
So the RegExp should actually check for these as well. Not an expert on South Sudan though, so please correct me if I am wrong. However, If I am right, the corrected RegExp in my opinion should look like this:
Examples: Valid: Invalid: |
Hello, |
@rubiin could you kindly update the labels, seeing that this still needs some changes? |
@cheboi thank you for the update! (@profnandaa would it be possible for me to gain rights to add/remove labels for the issues/PRs? I'd be glad to help with that. let me know, what the process for that would like like) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contrib! 🎉
@pano9000 -- sure, I've sent you an invite, let me know if you've seen it. Thanks for the help! |
added validation and test for isMobile code Locale for (SS).
reference file: https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000F90002PDFE.pdf
Checklist