From 10aee11827bf0bf533e4ec8316370cfd52f87265 Mon Sep 17 00:00:00 2001 From: Julien Launois <46035353+Dj0ulo@users.noreply.github.com> Date: Wed, 1 Mar 2023 10:25:19 +0000 Subject: [PATCH] Add 2020 decade Albania TIN The first letter of Albania TIN corresponds to the decade it was issued. (Source: https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf) This commit adds 'M' to the regex in order to match TIN from this decade. --- stdnum/al/nipt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdnum/al/nipt.py b/stdnum/al/nipt.py index 9091ac7e..53fc2414 100644 --- a/stdnum/al/nipt.py +++ b/stdnum/al/nipt.py @@ -46,7 +46,7 @@ # regular expression for matching number -_nipt_re = re.compile(r'^[JKL][0-9]{8}[A-Z]$') +_nipt_re = re.compile(r'^[JKLM][0-9]{8}[A-Z]$') def compact(number):