parameters: (self, regex)
docstring: Wait until the regex encountered
docstring_summary: Wait until the regex encountered
docstring_tokens: Wait until the regex encountered
function: def until(self, regex):
          """Wait until the regex encountered
          """
          logger.debug('waiting for %s', regex)
          r = re.compile(regex, re.M)
          self.tn.expect([r])
function_tokens: def until ( self , regex ) : logger . debug ( 'waiting for %s' , regex ) r = re . compile ( regex , re . M ) self . tn . expect ( [ r ] )