in reply to Regexp a reverse-d string?
Anyone who hasn't seen this technique should read the above node. It has many useful and interesting applications.
See also Reversing Regular Expressions by Pete Sergeant on perl.com.
-- John.