in reply to
Expect.pm - Regular Expression not matching
Because there is a newline ("\012") between the "LOGGED OUT" and the ">". A dot doesn't match a newline, unless you use /s (not /m) as modifier.
Abigail
Comment on
Re: Expect.pm - Regular Expression not matching
Replies are listed 'Best First'.
Re: Re: Expect.pm - Regular Expression not matching
by
set_uk
(Pilgrim)
on Nov 03, 2003 at 12:47 UTC
Great thanks
[reply]
In Section
Seekers of Perl Wisdom