Added support for PK(Pakistan) in isIdentityCard #2291
Added support for PK(Pakistan) in isIdentityCard #2291profnandaa merged 3 commits intovalidatorjs:masterfrom
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. |
WikiRik
left a comment
There was a problem hiding this comment.
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. |
|
@rubiin I have changed the local from |
profnandaa
left a comment
There was a problem hiding this comment.
LGTM, thanks for your contrib! 🎉
Add a regex pattern for validating valid Pakistani Computerized National Identity Cards (CNICs):
Checklist