Re: Expect fails to recognize regexp

Daniel Jacobowitz
2002-09-13T22:01:56Z

On Fri, Sep 13, 2002 at 11:22:50PM +0200, Corinna Vinschen wrote:
> On Fri, Sep 13, 2002 at 02:22:43PM -0400, Elena Zannoni wrote:
> >
> > Add
> >
> > exp_internal 1
> > and
> > exp_internal 0
> >
> > around the particualar send/expect interaction, then you will exacly
> > see in the output what expect think it matched.
> >
> > That's the only way I know of making sense of stuff like this.
> >
> > Elena
>
> I tried it but it didn't add anything to the output. Nothing!
>
> I added it this way:

Are you sure you're in the right branch of the IF? Does a send_user
there get displayed?

> Was that ok or did I do something wrong?

Looks right.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer