note
LanX
This seems to be a continuation of the thread about parsing man pages. ([id://11119327])<P>
Your post is hard to read because of missing <C><code></C> tags!<P>
(If you had logged in you'd be capable to edit and fix it.)<P>
Anyway my guess is that you need [DOC://quotemeta|<tt>quotemeta</tt>] resp. <C>\Q</C> because parens <C>()</C> are metacharacters in regexes, which need to be escaped.<P>
<div class="pmsig"><div class="pmsig-708738">
<!--nowiki--><p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
</sub>
<!--nowiki-->
</div></div><!-- Wiki2Monks {"version":1.16} -->
11119808
11119831