Hello,

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




Reply via email to