http://www.perlmonks.org?node_id=3592


in reply to Pig Latin

(posted after the clarification) Okay. If you insist... s@#([^aeiou]+?)(\w+)@#$2.$1.'ay'@#egi||s@#(\w+)@#$1.'way'@#egi - the poster of the two previous versions