From: "David A. Black" Date: 2008-08-02T04:25:43+09:00 Subject: Re: Using array.select with grep Hi -- On Fri, 1 Aug 2008, shadowfirebird@gmail.com wrote: > I didn't say they were the same; I said that grep() didn't work in > that context, but include?() did. :D I think that was in reply to me, and it's true that I was using "not the same" to mean "not interchangeable" -- but in fact I was all wrong anyway because I rewrote the OP's code in my head to use regexes instead of strings. David -- Rails training from David A. Black and Ruby Power and Light: * Advancing With Rails August 18-21 Edison, NJ * Co-taught by D.A. Black and Erik Kastner See http://www.rubypal.com for details and updates!