[James Edward Gray II <james / grayproductions.net>, 2005-03-23 20.07 CET] > On Mar 23, 2005, at 11:34 AM, Carlos wrote: > > >Sorry about the spam (at least it is the sortest solution :). If I > >find more > >bugs I should send the new versions to JGE2 directly. > > Most seem pretty tolerant of our ramblings. I prefer solutions stay on > this list, for all to see. We'll revise that when we start getting > hate mail about the volume. ;) Ok, but better I'll better post only diffs, or we'll start getting it very soon :). I hope this is the last remnant of that bug... --- told.rb 2005-03-23 20:33:24.332595224 +0100 +++ t.rb 2005-03-23 20:33:39.129345776 +0100 @@ -140,7 +140,7 @@ end # ...straight - line.do!(:sort) + line_wo_pairs.do!(:sort) RANKS.split(//).each_n(5) do |a,b,c,d,e| r = /(#{a}. #{b}. #{c}. #{d}. #{e}.)/ if m = r.match(line_wo_pairs) > P.S. Nice solution. Thanks :))