in reply to Re^2: Expect question
in thread Expect question
I might be wrong of course, but it looks to me like that's just the parsing of the parameter you gave to the function, not what was received from the server.
Could the problem have something to do with the "exact match" part? You can see it's trying to match against 'Connecting to <host_ip>...\r\nPassword: '
So perhaps you need something like '.*Password: ' as a pattern? (assuming it takes regexes).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Expect question
by RaduH (Scribe) on Oct 29, 2007 at 15:30 UTC |