Welcome to the Monastery | |
PerlMonks |
Matching parenthesis in a stringby ciamack (Novice) |
on Oct 15, 2002 at 15:28 UTC ( [id://205399]=perlquestion: print w/replies, xml ) | Need Help?? |
ciamack has asked for the wisdom of the Perl Monks concerning the following question:
Hi I have a script where I need to match strings with parenthesis to string items in an array. here is a part of it:
If I try to match "(Right)" to items in the array, I'll get 2 matches but the way it is combined with some other text, even if the exact match exists in the array, as in the example, I don't get any results. There probably is something I ought to do, but I don't know what I am missing here.
I appreciate any help. Edit by tye to add CODE tags and remove most BR tags
Back to
Seekers of Perl Wisdom
|
|