>perl -le"$_='abc1 abc2 abc3 abc4 abc5'; s/1/++$i/eg; print" abc1 abc2 abc3 abc4 abc5
In reply to Re^3: incremental substitution w/ regexp only?
by ikegami
in thread incremental substitution w/ regexp only?
by peter.mao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |