in reply to One for the regexp fans
$str =~ s/(.[^\.]*)(\.?)/(substr("0" x 2 .$1, -2)).$2/ge;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (2) Maqs: One for the regexp fans
by nuance (Hermit) on Aug 04, 2000 at 15:23 UTC | |
by Maqs (Deacon) on Aug 04, 2000 at 19:09 UTC | |
RE: Re: One for the regexp fans
by Odud (Pilgrim) on Aug 04, 2000 at 15:03 UTC |