Actually, /(\Q$input)/ produces the error:
/(\(\)/: unmatched () in regexp
because you're now matching $input), not just $input. If the parenthesis are to stay, you'll need the \E
Sarah
In reply to Re: Re: Re: Problems with matching and metacharacters
by WebHick
in thread Problems with matching and metacharacters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |