in reply to
How to escape metacharacters without backslash it in regex?
/\Q$string\E/
see
Quote and Quote-like Operators
and
quotemeta
.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: How to escape metacharacters without backslash it in regex?
Download
Code
In Section
Seekers of Perl Wisdom