Is there always a '>' in the prompt? If so, you might need to change the order of your list of matches. You might also look at exp_continue. I'm just guessing.
In reply to Re: Perl's Expect - foreach loop
by Roy Johnson
in thread Perl's Expect - foreach loop
by tc1364
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |