fix: [BankAccount] fix #385

This commit is contained in:
Terrtia 2019-09-04 17:08:28 +02:00
parent e0bb973989
commit 21013a7935
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -92,8 +92,6 @@ if __name__ == "__main__":
publisher.info("BankAccount started")
message = p.get_from_set()
#iban_regex = re.compile(r'\b[A-Za-z]{2}[0-9]{2}(?:[ ]?[0-9]{4}){4}(?:[ ]?[0-9]{1,2})?\b')
iban_regex = re.compile(r'\b([A-Za-z]{2}[ \-]?[0-9]{2})(?=(?:[ \-]?[A-Za-z0-9]){9,30})((?:[ \-]?[A-Za-z0-9]{3,5}){2,6})([ \-]?[A-Za-z0-9]{1,3})\b')
iban_regex_verify = re.compile(r'^([A-Z]{2})([0-9]{2})([A-Z0-9]{9,30})$')