From nobody Sun Aug 21 07:31:21 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 4M9Rxj4LtJz4Z4xl for ; Sun, 21 Aug 2022 07:31:21 +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 4M9Rxj3FY4z3dx4 for ; Sun, 21 Aug 2022 07:31:21 +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 4M9Rxj2LPvz12YB for ; Sun, 21 Aug 2022 07:31:21 +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 27L7VL7C006056 for ; Sun, 21 Aug 2022 07:31:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27L7VLqE006055 for bugs@FreeBSD.org; Sun, 21 Aug 2022 07:31:21 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 263478] awk: syntax error in regular expression $^ Date: Sun, 21 Aug 2022 07:31:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pprocacci@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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=1661067081; 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: in-reply-to:in-reply-to:references:references; bh=WHOYVk5k9Lg56ok2PekETObH3LHCLgtzbNp+qSuQXpk=; b=ypxaMy1GjG+V2mzQ00dF7ZTHyHUcVZliDLnukpHySxWmNxGPoz1Q8rdYkXCK3j5Q8KFl/I XjBe6q+FdSKeHUZd5QnJ5yXSZGSYSoutoZ+5B8evwgAJExssD77mUu5uyqbAoR8pn3EQo9 VOTgAtUbfcLxMBB0feEXDfsm8jtKQn1IAVeTPlQEc9z1puiIyA/KEAHivNKgD3vAoeiHP0 vC4nxZeZbnu1q0D51vmp72JlxE7GdL6BJJDoLWqZ5kuSVhVZGq0eQ2dNbuLG4upKlogHnC CVDH9JMF49/H2yhhVdlCglQVSfUr6wkJbNEDvHqWktmQgEtVH98kgvutCGZn8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661067081; a=rsa-sha256; cv=none; b=cOyeASvoZE28IfF3ru01vL5t5zStdzR7SuhJfBtVutWJ67SB3qutHDtTwhv0zm+nqIbrSa SSIaqutkAp+x325E/x+SBexycH+QB9JsbybLjbG9kykRPjD41m/e26IhQ62nuDc9bwiwLE b/0zgvAle0prcKZxo4R4pOj4bd4o8xmwmwKHyBaPs9ZoJ5qeZKO1P2ZX4FjXPAT4//WJxd liD7aMDDnSrrfx7jIoUK/mIbPfORU+CFFbDYImjOEzh2vcpLa+Q93JuQKwjDOAWcPgJ6xu oRtRIPH6Q0lz7nhLg05n4nPbeN+YYIqTDiFRdA31b3asNTprDcte7Y7OF7E59A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263478 pprocacci@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pprocacci@gmail.com --- Comment #1 from pprocacci@gmail.com --- The syntax you provided is syntactically correct, however the result of suc= h a match is undefined. An argument could be made that '$^' should parse without error, to which I actually agree as that follows the grammar as posted by you, but I don't see how '$^' is useful. If it's working elsewhere, it's working within that 'undefined behavior' re= alm which could change the moment POSIX actually defines $^ as having an actual meaning. As of right now, it doesn't. Perhaps you could say, it means 'end of line' then 'newline' but that doesn= 't really make sense because you could anchor on either just a newline or end = of line. Those are my thoughts anyways. --=20 You are receiving this mail because: You are the assignee for the bug.=