in reply to Creating a fill-in regexp
Output$s1 = '0000010000000100000100001'; $s1 =~ s/1(0+)1/'1'x((length($1)+2))/eg;
0000011111111100000111111
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating a fill-in regexp
by jpfarmer (Pilgrim) on Sep 24, 2003 at 19:15 UTC |