Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Tue, 08 Dec 2020 15:09:51 +0800

>>>>> "EZ" == Eli Zaretskii <[email-masked]> writes:
EZ> I see nothing special about regular expressions in this context.  Parens matching is useful there as well as anywhere else.

/[

means we are entering characters that stand on their own, that _should
not be thought to match_ previous characters.

As I am entering the regexp, emacs should not tell me that

/[}

is wrong.