If you use a variable in a regex, it is interpretted as a regex unless you tell the regex that you want it to just be a string. This is a very common mistake. s/\Q$test\E//g; is how you tell the regex that.
- tye (but my friends call me "Tye")In reply to (tye)Re: re bug?
by tye
in thread re bug?
by dash2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |