From 37b2bbce981503f7d6d6b943ea1400c84ae12148 Mon Sep 17 00:00:00 2001 From: dborges Date: Tue, 11 Jul 2023 08:59:48 +0000 Subject: [PATCH] Modificar 'validation/excel_validator.py' --- validation/excel_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/excel_validator.py b/validation/excel_validator.py index 59ed842..bc51755 100644 --- a/validation/excel_validator.py +++ b/validation/excel_validator.py @@ -532,7 +532,7 @@ def is_valid_history(value, validation_conf=None): try: items = [i.strip() for i in value.split("<")] for i in items: - regex1 = r'^[a-zA-Z0-9 &,;.:''-]+,?\s*((19|20)\d{2})' + regex1 = r'^[a-zA-Z0-9 &,;.:''-]+,?\s*((19|20)\d{2})' regex2 = r'^[a-zA-Z0-9 &,;.:''-]+,?\s*[a-zA-Z0-9 &,;.''-] (19|20)\d{2}\s\([a-zA-Z0-9 &,;.''-:]+\)' regex3 = r'^[a-zA-Z0-9 &,;.:''-]+\,?\s*[a-zA-Z0-9 &,;.''-]' regex4 = r'^[a-zA-Z0-9 &,;.''-]+,?\s*(19|20)\d{2}\s\([a-zA-Z0-9 .''-,;&:]+\)'