because the match operator, m//, uses matching delimiters, //, which need escaping, pretty much like you need to escape single quotes in 'single quoted strings', and double quotes in "double quoted strings"
You can use balanced delimiters like m{} , and for substitution operator s{}{}
In reply to Re: file line editor one-liner
by Anonymous Monk
in thread file line editor one-liner
by repcsi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |