From: beny 18241 Date: 2009-05-08T18:00:11+09:00 Subject: Re: grep a block of code Bill Kelly wrote: > From: "Maciej Pindela" >> >> I've tried that way.. >> >> puts File.readlines(ARGV[0]).grep(/ * <\/tag>/) > > puts ARGF.read.scan(/.*?<\/tag>/m) > > > Regards, > > Bill Thanks that's works -- Posted via http://www.ruby-forum.com/.