Recognize 2019 as a year

Happy new year!
This commit is contained in:
Justin SB 2019-01-02 18:30:54 -05:00
parent 9f8ecefdae
commit 533a57a096
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ def get_regexs():
# Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing
regexs["year"] = re.compile( 'YEAR' )
# dates can be 2014, 2015, 2016, or 2017; company holder names can be anything
regexs["date"] = re.compile( '(2014|2015|2016|2017|2018)' )
regexs["date"] = re.compile( '(2014|2015|2016|2017|2018|2019|2020|2021|2022)' )
# strip // +build \n\n build constraints
regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE)
# strip #!.* from shell scripts