Subject: bug#11216: 23.4; parenthesis matching breaks on certain complex expressions

From: Stefan Monnier <[email-masked]>
Date: Wed, 11 Apr 2012 22:08:39 -0400

> Here's a complex regular expression that breaks parenthesis matching
> (and yes, that's a real regular expression generated from a real perl
> program).
[...]
> I think the best fix would be to enable customization of
> show-paren-mode so that the user can specify which characters should
> be ignored when matching parentheses.

show-paren-mode is customized by the major-mode, so all you have to do
is use the right major mode.  E.g. perl-mode.

        Stefan