in reply to
Matching parenthesis in a string
If you want to do exact matching, probably the simplest is to use
index()
. Or to "quote meta" your search pattern, with either
quotemeta
or
\Q .. \E
.
Abigail
Comment on
Re: Matching parenthesis in a string
Select
or
Download
Code
In Section
Seekers of Perl Wisdom