'Return all lines following the given line in the text.
The given line can contain glob wildcards.'

def get_lines_after(self, fnline):

    for (i, line) in enumerate(self.lines):
        if ((fnline == line) or fnmatch(line, fnline)):
            return self.lines[(i + 1):]
    raise ValueError(('line    %r    not    found    in    output' % fnline))
