From nobody Thu Jul 28 17:10:15 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 4Ltxwl4T1Dz4XKgN for ; Thu, 28 Jul 2022 17:10:15 +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 4Ltxwl2jjkz3Q8G for ; Thu, 28 Jul 2022 17:10:15 +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 4Ltxwl1mXcz1445 for ; Thu, 28 Jul 2022 17:10:15 +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 26SHAFY8002341 for ; Thu, 28 Jul 2022 17:10:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26SHAFpL002340 for standards@FreeBSD.org; Thu, 28 Jul 2022 17:10:15 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:10:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: cooperm@opentext.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@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 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: 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=1659028215; 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=bBVF3cIAk0Ggf4X9JtspFXBVOkM3sPmWFkMnjQgbOWg=; b=eKZs7V7j8hvoYFMV/OL8UIq9WaUUuNhhFg3SoqLK3Ju2jfrSMqiJJB3jNG6m/QYfBhjj7x Bd9M3Zz9YTtPR+RQt4b8asiUAhvszJtBUNKx8ZHOCbL4GvOB3nfWWKGbyJMDTkNPk21oEW dlghDO+FKvPPdU6mfr9ymK7fZweT4vqErtAW0X3/hLVzPobsSsd1dMyb9Sbm2j6pGrTe+2 nVmiT1Ib7UdHliey5X4EFrdFs4zPN+FYiVrstSNUmpxZPaokl/gIxXws9MYNlDjDumVM0D mHvX0q5o6lUQUHvXxwdzQe+PrTSmBcSEmm96iNCDUInP9Z8VUsjiKcNh3KNA9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659028215; a=rsa-sha256; cv=none; b=iVBJWjQmMdoYn6oYgQEj/e7nAF+Jno4dUI0Oi5+/7mPxhJBkK+nb3IEIKfv+/IBbNB40Wc 2KRI6tjK+cRHFF2kfZ05tkXaUI1xacUPnXaVrVpmQds/2g9+fE0uLqCp/4Hk/gRRIoViKC 0ZaA8BEcP+YDiionyhaM5ZI1iu8RWUR9omN58IQ5MUIDze+ugx3WULFFOH77Ac3X2RhuGG vkRWoAsONBIRp9e0rClB15g08eX/aNb2fVKcmvHJjYg9YvnhrcL38LdDN4x1fR850+CG1n c5or1nVHn7H/YIqZYSaSAPqSh8VVSgaj8H7rdDyEGXFp2VJtrI4hhDlBDFOE1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265480 Bug ID: 265480 Summary: std::regex constructor throwing an exception at backslash-underscore but not other invalid escapes Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: cooperm@opentext.com When passing to the std::regex constructor a pattern that include an escaped underscore ("\_"), an exception is thrown with the explanation "The express= ion contained an invalid escaped character, or a trailing escape." This does not occur on non-FreeBSD systems, and it does not occur for sever= al other escapes that are normally invalid by regex convention (e.g., \& \=3D = \/). Is this intentional? --=20 You are receiving this mail because: You are the assignee for the bug.=