From: Adam Prescott Date: 2011-04-03T23:44:18+09:00 Subject: Re: Using grep on subarrays - help! --bcaec51dd30f7321c504a004ad13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/4/3 Jes=C3=BAs Gabriel y Gal=C3=A1n > result =3D [] > test.each {|x| result << x unless x.grep(/one/).empty?} > result > More to-the-point: test.reject { |x| x.grep(/one/).empty? } --bcaec51dd30f7321c504a004ad13--