Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New Ruby 1.9 Features, Tips & Tricks. Parent comment
I must be misunderstanding you, but that's obviously incorrect.
"foo 1 bar 2".gsub(/\d+/) {|m| m.to_i * 2 }
I must be misunderstanding you, but that's obviously incorrect.
1.8 also. Does MatchEvaluator bring more to the table?