Where, precisely, do you think $1 is getting set? If your answer is anything other than "oops", look again.
Also, if you're emitting stuff into a <textarea> block, you need to escape certain HTML entities, notably as '<', '>', and '&'.
In reply to Re: =~ and substitutions
by dws
in thread =~ and substitutions
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |