From nobody Wed Apr 13 21:03:03 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2FD441B4B721 for ; Wed, 13 Apr 2022 21:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kdw6J09w8z3w4r for ; Wed, 13 Apr 2022 21:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA48C138F9 for ; Wed, 13 Apr 2022 21:03:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23DL335D006503 for ; Wed, 13 Apr 2022 21:03:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23DL33i6006502 for bugs@FreeBSD.org; Wed, 13 Apr 2022 21:03:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263268] bsdgrep: support empty subexpressions Date: Wed, 13 Apr 2022 21:03:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649883784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KpZKoPZv+udDo4KPtbY3yHUkoxZS0PiMIpbzt+HIaho=; b=Uv4vJ6CZpGu6WHMK1rDq4QTnbVHkIUjVDfhWyUCkTqS66gcaBq4VrPTrDvo2oZRpUgZRrN 8SHSVW28aCTbWW599oy/OqyHdcgAo9mnl0cyCbWQ05b8gVnEVcAXR36xiwWP2N8rjHyb2p BaVJkgKmp1UkfanD2b1eJ1roH9Qgsgzyyg39CCMIMxRcDYbOPYm17auuSrnv2+36Rvhgk3 T/cazBJSgiLDFA7vvHmKjND47zdnWM0F0N3HkI5Od180N5IwPC+6RIzebejjc6jbKyJ6Ac 9NzfFsdeldLj2L+l5Qw7Z+yHng0UBa4yz5BLdhhgGpDC7NE7/R0OGTe2xTy/aQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649883784; a=rsa-sha256; cv=none; b=GLUpr9vzstBY+GdUA8Ey/WMy4wapd869np3ikI46r7OayeRwdHf6ln1Zv+Q3pHzln9nTlN fQbaB2QTBxP2h8v2dlUeHF2FgzkumOk1VRGC6t5th0lbtm63qUC7Urogr61UKwvhtgQJJY /o8FosztDnzzI7GG1FQkNIi8PwSW8rHQZrHfNx2270uu3oFbG3ElVqKZN45+r7T8BRBWCQ xD7aDgqwN5Asa63UDbJ95IKkGaCSz7vaYbOEZu4MNTYlAfWVN82jANODY1nRbWaoHmorgg /hxWfbU5b6wwgYtSE5sr+jILrJVZpiksSXpS5R7oHBPR0mNN8NDhbC2YWtIeDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263268 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:]]+.*)$" --=20 You are receiving this mail because: You are the assignee for the bug.=