On Sat, 4 Aug 2001 14:57:19 +0900, Dave Thomas
<Dave / PragmaticProgrammer.com> wrote in comp.lang.ruby:

>> IO.foreach('report.txt') do |line|
>> 	if line =~ /START/../END/
>
>Try
>
>   if line =~ /START/ .. line =~ /END/
>The two side of the .. are independent logical expressions.

Thanks.  Did the trick.