This lets ‘grep -E '(*a|+b)'’ warn about the * and the +.
* lib/dfa.h (DFA_STAR_WARN, DFA_PLUS_WARN): New flags.
* lib/dfa.c (lex): Support them.
---
ChangeLog | 7 +++
lib/dfa.c | 51 ++-
lib/dfa.h | 8
3 files changed, 49 insertions(
17 apr. 2022 kl. 13.33 skrev Eli Zaretskii :
>> Thank you! This particular change should be back-ported to emacs-28 once
>> master has caught up with gnulib again.
>
> If you are talking about a single change in lib/* files for this
> particular problem, I'm fine with that.
Yes, that's the idea