[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64128: regexp parser zero-width assertion bugs
From: |
Stefan Monnier |
Subject: |
bug#64128: regexp parser zero-width assertion bugs |
Date: |
Mon, 19 Jun 2023 16:08:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> If I understand things correctly, this would cause "\b*c" to be treated like
>> "\b\*c".
> Actually it already works that way. What the patch does, is preventing
> AB\b*C from being treated as \(?:AB\b\)*C but as AB\b\*C instead, which
> I think we can all agree is less wrong.
Hmm... maybe it's less wrong, but I'd rather make it behave like
AB\(\b\)*C, which is, I'd argue, even less wrong.
Or maybe make it signal an error: I can't imagine that the current
behavior is used by very much code at all, seeing how it's so
seriously non-intuitive.
Stefan
- bug#64128: regexp parser zero-width assertion bugs, (continued)
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/17
- bug#64128: regexp parser zero-width assertion bugs, Paul Eggert, 2023/06/17
- bug#64128: regexp parser zero-width assertion bugs, Eli Zaretskii, 2023/06/18
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/18
- bug#64128: regexp parser zero-width assertion bugs, Stefan Monnier, 2023/06/18
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs, Stefan Monnier, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs, Paul Eggert, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs,
Stefan Monnier <=
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/20
- bug#64128: regexp parser zero-width assertion bugs, Paul Eggert, 2023/06/21
- bug#64128: regexp parser zero-width assertion bugs, Mattias Engdegård, 2023/06/21
- bug#64128: regexp parser zero-width assertion bugs, Paul Eggert, 2023/06/19
- bug#64128: regexp parser zero-width assertion bugs, Paul Eggert, 2023/06/19