From nobody Thu Jul 28 17:17:27 2022 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 4Lty5404hHz4XLgV for ; Thu, 28 Jul 2022 17:17:28 +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 4Lty535WkFz3R5Q for ; Thu, 28 Jul 2022 17:17:27 +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 4Lty534T2pz144q for ; Thu, 28 Jul 2022 17:17:27 +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 26SHHR2U006483 for ; Thu, 28 Jul 2022 17:17:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26SHHRWt006482 for standards@FreeBSD.org; Thu, 28 Jul 2022 17:17:27 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 265480] std::regex constructor throwing an exception at backslash-underscore but not other invalid escapes Date: Thu, 28 Jul 2022 17:17:27 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@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: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659028647; 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=D5jdOcGHfZQ2/AEDM+c57Mzd7FCETWD9EpfR8rE8wJY=; b=pyn7Z/PVcmwHp5/MYsacbk7Eap1SPEyjnRcfAAQKaTxeQ1Jo1PzumJnBOn70deBZ3/zyRU 66PwUbadEUJxDM1HLWTNVkO5gHtQHU6wN7ln+/XGDcFJ7LEYLDwpVNs/CSSuFdy/vmfR0A uvGl/2bPelqK3VDjrns4GcA5OB9X3BBXCxl9wEiv+owAtv4QYDibmeYst0SXGDKJfLrD2K +kg32lkgnbPZwwPmb3dur7nnddYaHuNzV6I9jDZ0C329vtxGPJt56pad4PK2PWREwaBnqB bGBZJgC8Y0JIrrhqy0Ck8OdqIfceXh0p/FyqgojgyYMaq8o83Vaepc75x52WFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659028647; a=rsa-sha256; cv=none; b=UuZOlUt2WC7M5CZQ4ohC/J9v4WNLvIBVkKBwMbOZ38pOPc4oIEC6aijYjip+BGzdoryBzh HUZZaxOXgSBcXfBnM0+v0xVD7dR2ECeeVJyAQWno3cGfcxmaIQEAyC1Cz8EtW5lrjzi7Ai dplPafmhKRl/qqQo2dWh33VY/Z7SwJ/6pS1WKQTEKfSDSJ+8ZPwp25jjB5omi3l//Xyg/W nQe/kE01imO0MP13qkeLk8tu8rpPmpefmRt04uJSeZAnI8MasgTLQ+1o1C5zHmxsGpMz6T RsJ5Z1NpZD5Hep8Jpigv94OuH8Xv6IyVulcot5ZSV5DtWwquwyNED8aEbAVqIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265480 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org --- Comment #1 from Kyle Evans --- (In reply to Milo Cooper from comment #0) If std::regex is just a shim for libc regex(3), then yes, this is expected.= As of 13.0-ish, we've started rejecting many escapes of ordinary characters (t= his is UB according to POSIX, and shouldn't be considered portable). Some of them are imbued with special meaning by libregex to match GNU expectations (e.g., \w/\W, \b/\B, \s/\S, \<, \>), so we're trying to avoid = some confusion by not having a "working" expression in both libc and libregex --= it either compiles and you get the GNU behavior, or it doesn't compile and you= 're made aware that you need libregex if you expected GNU behavior. --=20 You are receiving this mail because: You are the assignee for the bug.=