# 3456789_123456789_123456789_123456789_1 perl -pi.bak -e'/^xyz\s*=/&&s/\d+/1+$&/e'
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
In reply to Re: Can anyone make this shorter?
by japhy
in thread Can anyone make this shorter?
by mlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |