From: Sean Russell Date: 2002-05-30T10:03:46+09:00 Subject: Re: Regexp in ranges as control Mike Stok wrote: .... > postamble".each { |line| > puts line if line =~ /start/ .. line =~ /end/ > } .... >> [1,2,3,4,5,6].each do |x| >> puts x if x === 3..5 >> end .... Hmm. When I just tried my integer example again, it didn't work. Well, OK. I'll buy that. -- |.. "Democracy is freedom only when the majority are tolerant -- which <|> is never." /|\ -- Clayton E. Cramer /| |