From: Josh Charles Date: 2005-09-02T09:27:56+09:00 Subject: Re: palindrome finder > palindrome = Regexp.new(<<'EOPALIN') > (?x)(?i)\b > (?:(\S) (?:\s|\p)* > (?:\S|(\S) (?:\s|\p)* > (?:\S|(\S) (?:\s|\p)* > (?:\S|(\S) (?:\s|\p)* > \4)? (?:\s|\p)* > \3)? (?:\s|\p)* > \2)? (?:\s|\p)* > \1) > \b > EOPALIN > > p "Win a Toyota blah".match(palindrome).to_s > p "Why Abba rocks?".match(palindrome).to_s > p "A Mismatch".match(palindrome).to_s > Ok, I"m not even going to pretend to know how this code works exactly, and was suitibly impressed when I ran it. I don't know what to say other than that.