From: John S. <j.d...@re...> - 2000-12-05 10:50:30
|
On Mon, 4 Dec 2000, John van V. wrote: > $first_rem_session_string = $xpt_ob -> expect ( 5, /.*/ ) ; If you want to match on a regex you'd say $first_rem_session_string = $xpt_ob -> expect ( 5, '-re', '.*' ) ; or $first_rem_session_string = $xpt_ob -> expect ( 5, '-re', qr(.*) ) ; (as documented in the Friendly Manual ;-) hth -- John Stumbles j.d...@re... I.T. Services Centre, University of Reading http://www.rdg.ac.uk/~visstmbl +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ never generalise |