:this_is_fine:
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
0fcc0c666c
commit
0f7ceb2a30
@ -182,7 +182,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|2023|2024)')
|
||||
# strip // +build \n\n build constraints
|
||||
regexs["go_build_constraints"] = re.compile(
|
||||
r"^(// \+build.*\n)+\n", re.MULTILINE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user