On Sun, Apr 2, 2023 at 1:25 PM Carlo Arenas <care...@gmail.com> wrote: > On Sun, Apr 2, 2023 at 11:30 AM Paul Eggert <egg...@cs.ucla.edu> wrote: > > > > Also, GNU grep -w passes the following more-complicated regexp to dfaparse: > > but AFAIK `-w` is not necessary to trigger it, as the following also > infloops in Fedora Rawhide > > $ echo a | grep -E '((()|a)|())+'
FYI, this prints its input line (and no infloop) when grep is configured --with-included-regex, so at least for that one, it may be due to a recent change in upstream glibc.