http://qs1969.pair.com?node_id=1069009


in reply to Perl Expect not matching

The $exp->expect(3,'-re',$match) makes it treat $match as a regexp instead of a string. That causes the ? and [Y/N] to be not properly recognized.