From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6B8101F44D for ; Tue, 13 Feb 2024 06:28:24 +0000 (UTC) Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id A352A82937; Tue, 13 Feb 2024 06:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1707805696; bh=i5lxZwljLR+rYq0LWZ8WmQIWHYW++TGp80kUoCnH8bk=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=JPcsMWpQmqGm2O8VoBsb0hHRBhPjGVFG76t47LDxepnFZT/VnCZFasH+Q7d+c51La ydBBii8WcaBTX3538/OQ1LdWH5XOS+DzTWKb8C2TqAFS5x5C09QvcN5rY4B4yp36DV 7BdX3FIgiIwI1Js0Co9yvx4yhWhVT1KqU2U0GzvY= Received: from wrqvtvvn.outbound-mail.sendgrid.net (wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 59B89828D9 for ; Tue, 13 Feb 2024 06:28:13 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=HTTvw7d/; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=XowwjiKKcjwKji0Ah+DGgLp2+GLAUZzbh7wPap6BTds=; b=HTTvw7d/NepJkjBXz1SQ5ixlNkC35T9xRBF9f8FYmHUaw7F+ULo9I1Ch+02PFbhbEmeJ E5JjswnyUJd4yOwGXlSr2oqkMN4pMDe7IG7IjMFbOutJcN79EbsI3xdqiJF2ecmF+imCdl ND3/dW3LQ4tFvP1YzStctZk8yFFBuLhhwrPreGwxTeo7kyWRHqRdmJkprKsuoBmkbFXrr2 PUCWZI6R9suoML0f8MtMkq74gtUtJVmve1GbbZt6UhFT89YH6rg0iupk2NE6KcH543Kl6r XX0T10lmsqyEyh7/DR4sV0tNEF1ErPDZh3+5CJ8OZK9DzsDH9NI/1q+PVx9j2G4A== Received: by filterdrecv-656b5b4c75-pnrz8 with SMTP id filterdrecv-656b5b4c75-pnrz8-1-65CB0BFC-3 2024-02-13 06:28:12.205597017 +0000 UTC m=+545226.302438177 Received: from herokuapp.com (unknown) by geopod-ismtpd-5 (SG) with ESMTP id R93AiOlBRUS3PzvR6B2tnw for ; Tue, 13 Feb 2024 06:28:12.166 +0000 (UTC) Date: Tue, 13 Feb 2024 06:28:12 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20262 X-Redmine-Issue-Author: weilandia X-Redmine-Sender: weilandia X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 93243 X-SG-EID: =?us-ascii?Q?+XYsQqWgMVpC8ky4QZDRnROgkIqvl6+j5pqJ00EBgcH1VyrRA3OzVWWZna4MyL?= =?us-ascii?Q?PgwfS7sayIx5treS4RIKr8=2FwHJQaCn9gBhfMG=2FE?= =?us-ascii?Q?xy9f5KDi7Qw7wWyiSrWY5SYD6uTnIdxg8mh=2FOIs?= =?us-ascii?Q?H8q=2F=2FhDraGKsk15yfj6p3dCD5dR7rKWd76el4Mt?= =?us-ascii?Q?witkTJfMMl49vzGuqyc85mfEHPK10JYXYW4pcdp?= =?us-ascii?Q?8rEkAJYhn9i4MbynWchJIaTWRgmN=2Fld1UiAlZWb?= =?us-ascii?Q?bp9=2FKj54OgKNRLWNcmP=2FQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: 6VAHN6SQCYH3DFLK4C4WHOJBOOBZTEVW X-Message-ID-Hash: 6VAHN6SQCYH3DFLK4C4WHOJBOOBZTEVW X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:116687] [Ruby master Bug#20262] Regex mismatch between Ruby 3.2.2 and 3.3.0 List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "weilandia (Nick Weiland) via ruby-core" Cc: "weilandia (Nick Weiland)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20262 has been reported by weilandia (Nick Weiland). ---------------------------------------- Bug #20262: Regex mismatch between Ruby 3.2.2 and 3.3.0 https://bugs.ruby-lang.org/issues/20262 * Author: weilandia (Nick Weiland) * Status: Open * Priority: Normal * ruby -v: 3.3.0 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- This might be a duplicate of https://bugs.ruby-lang.org/issues/20098, but I cannot make it match with the backref so maybe not. Below example matches in 3.2.2 but not in 3.3.0 ``` ruby str = "------------abcdefg------------#3895912" re = /()\1\b\w*[a-zA-Z-]*\d+[\w-]{3,}\w+\b/ re.match?(str) ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/