The for-loop is just for the purpose of showing an example with various strings. Concentrate on the s/// and what it's doing — and in particular, see the update. No reason the s/// couldn't just be dropped into something like the one-liner you show in the OP.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Repeated substitution on 1 side of a line only
by AnomalousMonk
in thread Repeated substitution on 1 side of a line only
by dspivey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |