;-) Just that you have an answer ;-)
my $input="123+45"; for ($input) { tr/ +/+ /; $_= join "+ +", split; tr/ +/+ /; } print $input;
Now try to explain that!
In reply to Re: Reg exprs
by Skeeve
in thread Reg exprs
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |