in reply to YET another regexp puzzle
producing:my $c = 0; $_ = "jigglewort\n"; print and $c++ while s/(.{$c})(.)(.)/$1$3$2/;
ijgglewort igjglewort iggjlewort iggljewort igglejwort igglewjort igglewojrt iggleworjt igglewortj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: YET another regexp puzzle
by carric (Beadle) on Nov 20, 2003 at 02:33 UTC |