identique / idnumbers

idnumbers: Unlocking the power of national ID numbers
https://identique.github.io/idnumbers/
MIT License
11 stars 3 forks source link

fix CHN and ZAF month regexp #275

Open lijiachang opened 11 months ago

lijiachang commented 11 months ago

'(?P<mm>0[1-9]|1[12])' is not match month=10

for exmaple: ` from idnumbers.nationalid import CHN

id_number = "372925199510103222"

print(id_number, ' -> ', CHN.NationalID.validate(id_number)) ` result is : 372925199510103222 -> False

In fact , this ID is correct

my PR to fix it,

lijiachang commented 11 months ago

@microdataxyz Do you have any time see it