From nobody Wed Sep 25 19:06:45 2024 X-Original-To: standards@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 4XDR6Z0qcsz5XbTJ for ; Wed, 25 Sep 2024 19:06:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XDR6Y2pdrz4vBd for ; Wed, 25 Sep 2024 19:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727291205; 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=v1wIluxgjlRvNWeHTJsvOrHQvf+zYg4ds6RUU+FZmk8=; b=DD3O7mhIocJYHoyABhvK5JoKOheYggJA/MnQY8fKSq9hE1mlKd+/RG+YsvLjzIWphMf2a9 a+OMWjRD0uK4huyPlRiuo+rZ0pcdC2jU8BsXBo9JcXrLXoB6gD+m6hc0AjdlBCG4ZicGY0 Sb5xEo41+q7EZmC9WBHb+jqm/hvp3/SzR4p8nOiBgaFLbIx97PoDit/Sr9Dz801zQa4SAv i/VK57C/QAyvAuUXeo0igHIrqLeZfmMG0ETOzpIEwPl+WM3WlxrREAtMs6MxCF60zJnC8W iqqiGC/3kM/cFC8LJ95Ry32eZWqIbT4MlEhvI3SdpT5SzbO++e0Vm5haPmjNqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727291205; a=rsa-sha256; cv=none; b=xVgVZLNH9ndfcHTetm8i/WnzjNl3bzuSgUkaxqkUPToVRZRMG346opmZDuTRVQbdz6uTOM n0ATRKbEfkcLomj6pT+UnWfEdU9xRtBwIM/LYXhoLRqKl7tXoFbg65k3rUL+c6KaXvi6G0 dEBSqLwKg+yipvzrJKwAmveGYOkzIxyZgLnWXdWVs7bHYB3DD2G50szGp2YhmB64cmGhxQ vrz6mUljiMLykEpqAo9JJzBL80DHGd74FrxoRFTd6gkFYEFsanmjEl8Fd7PkMFynqgXo0y gRdUCVhc6sqHbsoc1Vq2FIcI1xZi8ZiYZmkMdQzkNFtosCroZU3+XUHYZ2mtLQ== 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 4XDR6Y28LKzPr5 for ; Wed, 25 Sep 2024 19:06:45 +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 48PJ6j9H079521 for ; Wed, 25 Sep 2024 19:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48PJ6j1O079520 for standards@FreeBSD.org; Wed, 25 Sep 2024 19:06:45 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: standards@FreeBSD.org Subject: [Bug 281710] RegEXP bug in bracket expression [^...] - sed(1), grep(1), re_format(7) Date: Wed, 25 Sep 2024 19:06:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olce@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281710 Olivier Certner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olce@FreeBSD.org --- Comment #3 from Olivier Certner --- Tested these: echo 'a' | grep '[ab=C3=A0]' echo '9=C3=A2' | grep -E '[^=C3=A2]=C3=A2' echo '=C3=A2' | grep -E '[^=C3=A2]=C3=A2' Same discrepancies between -CURRENT (as of mid-August) and 14-STABLE (as of mid-May). If I apply the above patch to that 14-STABLE, I get correct behavior (and consistent with -CURRENT) for these 3 tests and all Eric's problematic test= s of comment 1. (In reply to Kyle Evans from comment #2) So it looks like just MFCing this commit (git just does it automatically) w= ill solve this issue. It should have been so in the first place. Could you pl= ease do it both to stable/13 and stable/14? Else I can take care of that if you prefer. Thanks and regards. --=20 You are receiving this mail because: You are the assignee for the bug.=