o search for in the input.

        See expect() for other arguments, return value and exceptions. )