def find_matches(self, content, file_to_handle):
<EOL>groups = [match.groupdict() for match in<EOL>self.match_expression.finditer(content)]<EOL>matches = [group['<STR_LIT>'] for group in groups<EOL>if group.get('<STR_LIT>')]<EOL>logger.info('<STR_LIT>', len(matches), file_to_handle)<EOL>return list(set(matches))<EOL>
Find all matches of an expression in a file