On Tue, Sep 18, 2018 at 3:21 PM Assaf Gordon <assafgor...@gmail.com> wrote: > On 12/09/18 12:02 AM, Assaf Gordon wrote: > > $ echo 1 | grep -E "(\'|^)(\1|)" > > grep: regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed. > > Aborted > > I don't have a fix yet, but I reduced the crash to this interesting case: > > $ echo 1 | grep -E '(^|$)\1' > 1 > > $ echo 1 | grep -E '($|^)\1' > grep: regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed. > Aborted
Oh! Good one! Thanks for all your work so far.