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).
In reply to Re^3: Expect question
by Crackers2
in thread Expect question
by RaduH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |