P is for Practical | |
PerlMonks |
Re^3: Removing a string-element from an array of stringsby LanX (Saint) |
on Jul 26, 2020 at 17:30 UTC ( [id://11119832]=note: print w/replies, xml ) | Need Help?? |
This seems to be a continuation of the thread about parsing man pages. (HELP! I am in regex-hell) Your post is hard to read because of missing <code> tags! (If you had logged in you'd be capable to edit and fix it.) Anyway my guess is that you need quotemeta resp. \Q because parens () are metacharacters in regexes, which need to be escaped.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|