-
-
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
Added support for PK(Pakistan) in isIdentityCard #2291
Added support for PK(Pakistan) in isIdentityCard #2291
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2291 +/- ##
==========================================
- Coverage 99.95% 99.95% -0.01%
==========================================
Files 107 107
Lines 2454 2453 -1
Branches 619 619
==========================================
- Hits 2453 2452 -1
Partials 1 1 ☔ View full report in Codecov by Sentry. |
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.
Please use 'PK' as locale instead of 'ur-PK'
What's the source for the regex?
@WikiRik |
@WikiRik Hi is there any other fixes needed here. |
@Daniyal-Qureshi could you also mention the source ? |
Hi @rubiin I have used following sources. |
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.
ur-PK you could simply do as PK as suggested by @WikiRik
rest looks good for merge imo
@rubiin I have changed the local from |
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! 🎉
Add a regex pattern for validating valid Pakistani Computerized National Identity Cards (CNICs):
Checklist