A list of keywords to search for (case insensitive).
Usual examples are TODO and FIXME.
"""
results = list()
for i in range(len(keywords)):
keywords[i] = keywords[i].lower()
After Change
Usual examples are TODO and FIXME.
"""
keywords_regex = re.compile(
"(" + "|".join(re.escape(key) for key in keywords) + ")",
re.IGNORECASE)
for line_number, line in enumerate(file):