The stupid question is the question not asked | |
PerlMonks |
Re: Re: Re: Problems with matching and metacharactersby WebHick (Scribe) |
on Jun 14, 2001 at 20:35 UTC ( [id://88489]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|