def expect_list(self, pattern_list, timeout = -<NUM_LIT:1>, searchwindowsize = -<NUM_LIT:1>):
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)<EOL>
This takes a list of compiled regular expressions and returns the
        index into the pattern_list that matched the child output. The list may
        also contain EOF or TIMEOUT (which are not compiled regular
        expressions). This method is similar to the expect() method except that
        expect_list() does not recompile the pattern list on every call. This
        may help if you are trying to optimize for speed, otherwise just use
        the expect() method.  This is called by expect(). If timeout==-1 then
        the self.timeout value is used. If searchwindowsize==-1 then the
        self.searchwindowsize value is used.