fix: [BankAccount] fix #385

pull/396/head
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
1 changed files with 0 additions and 2 deletions

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})$')