$_='?od lliw xeger a nehw noitcnuf a esu yhW'; while((s/(.)$/$,.=$1;$==length$_;($=!=1)?'':$,;/e)&&($=>length$_)){} print "$_\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reverse Regex
by jdalbec (Deacon) on May 13, 2005 at 22:46 UTC | |
by jbware (Chaplain) on May 14, 2005 at 21:06 UTC |