-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Describe the bug
isPassportNumber isnot exactlly for countryCode with CN
Examples
1.My passport no is start with ED followed by 7-digits it's error
you can change
(^[EeKkGgDdSsPpHh]\d{8}$)|(^(([Ee][a-fA-F])|([DdSsPp][Ee])|([Kk][Jj])|([Mm][Aa])|(1[45]))\d{7}$)
2.Is any code can be HK、TW passport validator??
Additional context
Validator.js version: 13.6.0
Node.js version: v14.16.0
OS platform: macOS