def find_children(self, linespec):
res = []<EOL>for parent in self.find_objects(linespec):<EOL><INDENT>res.append(parent.line)<EOL>res.extend([child.line for child in parent.children])<EOL><DEDENT>return res<EOL>
Find lines and immediate children that match the linespec regex.

        :param linespec: regular expression of line to match
        :returns: list of lines. These correspond to the lines that were
            matched and their immediate children