From: serialhex Date: 2011-08-10T05:03:39+09:00 Subject: Re: *WHY* does this not work? --0015176f1aae3cc18804aa180f56 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 9, 2011 at 3:49 PM, Josh Cheek wrote: > It has been pointed out several times that Array#map! does this. > > In your case, though, it looks like you'd prefer Array#reject! > > def strip_python_loads > @file_lines.reject! { |line| line =~ /\s*from[ A-Za-z0-9\_.]*import\s*\w*/ > } > end > hmm... i guess i'm gonna have to delve deeper into some of the array & string docs deeper hex -- my blog is cooler than yours: serialhex.github.com The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience." > > Other than the fact Linux has a cool name, could someone explain why I > > should use Linux over BSD? > > No. That's it. The cool name, that is. We worked very hard on > creating a name that would appeal to the majority of people, and it > certainly paid off: thousands of people are using linux just to be able > to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the > mistake of putting a lot of numbers and weird abbreviations into the > name, and is scaring away a lot of people just because it sounds too > technical. -- Linus Torvalds' follow-up to a question about Linux --0015176f1aae3cc18804aa180f56--