From: Rick DeNatale Date: 2007-06-22T23:27:50+09:00 Subject: Re: Behaviour of Enumerables reject vs. select mixed into Hash On 6/21/07, Trans wrote: > > On Jun 21, 6:24 pm, dbl...@wobblini.net wrote: > > > It would interesting if: > > > > "abc\ndef\nghi".reject {|s| /abc/.match(s) } > > > > resulted in "def\nghi".... > > Nice. I just added p "abc\ndef\nghi".e_reject {|s| /abc/.match(s) } To the end of the enum_test.rb file I posted earlier and that's exactly what I got. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ IPMS/USA Region 12 Coordinator http://ipmsr12.denhaven2.com/ Visit the Project Mercury Wiki Site http://www.mercuryspacecraft.com/