From: wys@... (Clemens Wyss) Date: 2001-02-06T15:40:08+09:00 Subject: [ruby-talk:10404] Re: Structured text matching? THE "PRAGMATIC" WAY ;-) Dave Thomas wrote in : <> > >str = File.open("x.html") {|f| f.read} >str =~ /.../m > <> > >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? > <> > >Dave