[Bug 263268] bsdgrep: support empty subexpressions

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Apr 2022 21:03:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263268

            Bug ID: 263268
           Summary: bsdgrep: support empty subexpressions
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org
                CC: kevans@freebsd.org

$ echo foo | egrep "|foo"
egrep: empty (sub)expression

more complex case: "^${user}(|[[:space:]]+.*)$"

-- 
You are receiving this mail because:
You are the assignee for the bug.