in reply to Re^2: Finding parentheses that won't match
in thread Finding parentheses that won't match

This

>   &rdquor);

Is definitely broken and should be fixed by removing )

But this has little to do with balancing (...)

If you have more instances like this (how could this happen 500 times???°) you should run a regex reporting them, and you fix them manually after visually checking the surrounding line.

Viel Glück! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

Edit

°) my best guess is someone applied a badly tested regex before.