[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64019: 29.0.91; Fix some tree-sitter :match regexps
From: |
Mattias Engdegård |
Subject: |
bug#64019: 29.0.91; Fix some tree-sitter :match regexps |
Date: |
Sat, 17 Jun 2023 10:39:16 +0200 |
17 juni 2023 kl. 08.48 skrev Andreas Schwab <schwab@linux-m68k.org>:
>>> - (:match "\\`?[#\"'`:?]" @char))
>>> + (:match "\\`\\?[#\"'`:?]" @char))
>>
>> I don't mind, but it seems like both versions do the same thing:
Interesting! Now as Andreas says,
> This depends on `?' being treated as an ordinary character if occuring
> in a context where the special meaning does not make sense, which is
> poor practice.
which is quite right and that `?` should indeed be escaped for style reasons if
nothing else.
However there appears to be a hitherto unknown parsing bug in the Emacs regexp
parser here.
(And in xr, which has the ambition to be mostly bug-compatible with Emacs.)
I'll open a new bug about it.
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, (continued)
bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Dmitry Gutov, 2023/06/12
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Eli Zaretskii, 2023/06/12
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Basil Contovounesios, 2023/06/13
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Dmitry Gutov, 2023/06/13
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Basil Contovounesios, 2023/06/15
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Dmitry Gutov, 2023/06/16
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Andreas Schwab, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps,
Mattias Engdegård <=
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Mattias Engdegård, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Dmitry Gutov, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Basil Contovounesios, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Eli Zaretskii, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Basil Contovounesios, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Eli Zaretskii, 2023/06/17
- bug#64019: 29.0.91; Fix some tree-sitter :match regexps, Basil Contovounesios, 2023/06/17