def find_lines(self, linespec):
res = []<EOL>linespec += "<STR_LIT>"<EOL>for line in self.cfg:<EOL><INDENT>match = re.search(linespec, line)<EOL>if match:<EOL><INDENT>res.append(match.group(<NUM_LIT:0>))<EOL><DEDENT><DEDENT>return res<EOL>
Find lines that match the linespec regex.