On Feb 12, 2007, at 12:00 AM, Phrogz wrote: > What I particularly admire about your solutions is that they are all > single- or chained-statements. Thank you. > I can't tell if I think the reverse/regexp/reverse technique you (and > many others) used for the first problem is more or less elegant than a > single regexp on the integer portion. I suspect that mine is faster at > runtime...but speed is rarely an appropriate measure of elegance. I'm pretty sure I learned that reverse(), gsub(), and reverse() trick from Perl's FAQ years ago. I just checked now though and the answer is not what I recall, so maybe I am misremembering that. > Kudos on the memoizing wondrous number, btw. :) It's not actually. I never assign the Hash value. ;) James Edward Gray II