[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua erro
From: |
Rudolf Adamkovič |
Subject: |
bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors |
Date: |
Thu, 12 Oct 2023 10:14:46 +0200 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> For true "regular expressions", you'd use conjunction and negation and
> Bob's your uncle, but sadly, our regexps don't support conjunction nor
> negation, so you're stuck doing it by hand, e.g.:
>
> "\\|\\[\\|[^[].*\\|\\[C\\|\\[[^C].*\\|\\[C[^]].*\\|\\[C].+"
>
> Yes, it's hideous and it suffers from a really bad size-explosion
> syndrome. I don't even want to think about how to encode "this group
> can match neither "joe" nor "henry".
After a bit of thinking, I used a shy group
\\(?:\\[C\\]\\|.......\\)
^^^^^^^ ^^^^^^^
NEGATIVE POSITIVE
This either matches nothing or the groups in the POSITIVE alternative.
Rudy
--
"I love deadlines. I love the whooshing noise they make as they go by."
-- Douglas Adams, The Salmon of Doubt, 2002
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, (continued)
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Rudolf Adamkovič, 2023/10/07
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Mattias Engdegård, 2023/10/08
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Rudolf Adamkovič, 2023/10/12
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Rudolf Adamkovič, 2023/10/12
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Mattias Engdegård, 2023/10/12
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors, Stefan Monnier, 2023/10/08
- bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors,
Rudolf Adamkovič <=