a good little read (part one and two) http://code.box.sk/newsread.php?newsid=948 Ten Reasons Ruby Is Cool
Cheers Pierre Garigue http://www.trug.ca/Main_Page -----Original Message----- From: Paul Carvalho [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 1:05 PM To: [email protected] Subject: Re: [Wtr-general] Negative Loop Regular Expression checks On 09/03/06, Pierre Garigue <[EMAIL PROTECTED]> wrote: try using an 'until' with the use of =~ /regex/, it will make it clearer also you may want add more detail to the regex such as it case sensitive? /i makes the regex match case insensitive. Aha! "until"! That is new to my vocabulary. That works perfectly, thanks! I really love Ruby and Watir! I can't believe how readable and easy the scripts are. It's almost like pseudo-code, that's how easy it is. Cheers. Paul. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
