forked from MIRRI/mirri_utils
Modificar 'validation/excel_validator.py'
This commit is contained in:
parent
e26883e68e
commit
37b2bbce98
@ -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 .''-,;&:]+\)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user