Correct independent developer start year to 2017
This commit is contained in:
@@ -148,7 +148,7 @@ em { font-style: italic; }
|
||||
|
||||
|
||||
def is_date_text(text):
|
||||
return re.fullmatch(r"[A-Za-z]+ \d{4} - (?:[A-Za-z]+ \d{4}|Present)", text.strip()) is not None
|
||||
return re.fullmatch(r"(?:[A-Za-z]+ )?\d{4} - (?:(?:[A-Za-z]+ )?\d{4}|Present)", text.strip()) is not None
|
||||
|
||||
|
||||
def is_date_paragraph(node):
|
||||
|
||||
Reference in New Issue
Block a user