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 .''-,;&:]+\)'