This commit is contained in:
Veres Lajos
2015-08-08 22:29:57 +01:00
parent 2bfa9a1f98
commit 9f77e49109
116 changed files with 160 additions and 160 deletions

View File

@@ -57,7 +57,7 @@ def file_passes(filename, extension, ref, regexs):
if p.search(d):
return False
# Replace all occurances of the regex "2015|2014" with "YEAR"
# Replace all occurrences of the regex "2015|2014" with "YEAR"
p = regexs["date"]
for i, d in enumerate(data):
(data[i], found) = p.subn('YEAR', d)