Private GIT

Skip to content
Snippets Groups Projects
Commit a57ba902 authored by Ruud's avatar Ruud
Browse files

Year match only 1900-2099

parent 63246256
Branches
Tags
No related merge requests found
......@@ -775,7 +775,7 @@ class Scanner(Plugin):
return None
def findYear(self, text):
matches = re.search('(?P<year>[12]{1}[0-9]{3})', text)
matches = re.search('(?P<year>19[0-9]{2}|20[0-9]{2})', text)
if matches:
return matches.group('year')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment