def re_match_lines_random(self, lines2):
self._match_lines_random(lines2, lambda name, pat: re.match(pat, name))<EOL>
Check lines exist in the output using ``re.match``, in any order.

        The argument is a list of lines which have to occur in the output, in
        any order.