someone / home.com (Chris) writes:

> IO.foreach('report.txt') do |line|
> 	if line =~ /START/../END/

Try

   if line =~ /START/ .. line =~ /END/

> When I do this the loop skips everything ahead of the START tag (as
> expected), however the END tag is ignored.

The two side of the .. are independent logical expressions.


Regards


Dave