No, this can results in as few as 1 substitution on input strings for which the original can produce up to four. (thundergnat's solution has similar problems.) I don't see the advantage of doing what the OP requests.
the lowliest monk
In reply to Re^2: shortening substitutions
by tlm
in thread shortening substitutions
by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |