[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45114: perl-mode warns about mismatched parentheses wrongly
From: |
Eli Zaretskii |
Subject: |
bug#45114: perl-mode warns about mismatched parentheses wrongly |
Date: |
Tue, 08 Dec 2020 09:14:43 +0200 |
User-agent: |
K-9 Mail for Android |
On December 8, 2020 9:09:51 AM GMT+02:00, "積丹尼 Dan Jacobson"
<jidanni@jidanni.org> wrote:
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> 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.
I disagree.
bug#45114: perl-mode warns about mismatched parentheses wrongly, Harald Jörg, 2020/12/08