THE "PRAGMATIC" WAY ;-) Dave Thomas <Dave / PragmaticProgrammer.com> wrote in <m2hf28u157.fsf / zip.local.thomases.com>: <<SNIP>> > >str = File.open("x.html") {|f| f.read} >str =~ /.../m > <<SNIP>> > >All true, but at the same time, if you can do it in two lines rather >than writing a full parser, isn't there some compensating gain to be >had? > <<SNIP>> > >Dave