From: Ikuta Lin Date: 2008-03-26T02:00:48+09:00 Subject: Re: remove regex matched line question Mateusz Tybura wrote: > Try to use String#chop or String#chomp > > 2008/3/25, Ikuta Lin : still has problem:( ------------ code src=src.collect do |e| e.chop e.chomp end ----------- output ["#/etc/shadow ", "/etc/group "] ~~~~~~~~~~~~~~~~~ -- Posted via http://www.ruby-forum.com/.