From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.bugs Subject: bug#72425: 29.2.50; substring (and other PCM styles) fails with candidates containing newlines Date: Fri, 02 Aug 2024 15:32:00 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "72425@debbugs.gnu.org" <72425@debbugs.gnu.org>, Stefan Monnier , Dmitry Gutov To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 02 21:33:09 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sZy1U-0001K1-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Aug 2024 21:33:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZy17-0000c4-Lr; Fri, 02 Aug 2024 15:32:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZy16-0000bv-02 for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 15:32:44 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZy15-0005MV-NQ for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 15:32:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=zmzv4YUfynYyBH1zzGNMpHgC7/KOE/nKzm7G0mSSNak=; b=UqcYo/bv97rQ8JLO2R6ECQHnjUXJ01gFS10taXlTQfUG6/ftn3eetxuwPKWITmAgqmYt2Z2x3ycZdocdveZ599YPo48cb5WQwG9J9fdn2fekjxiHgacs29tFIIYAGbJJK6FyEJ3L14PbhCR9X+uCKCVPq4Hyy6cfestFTbiEGlNaEaLxdLddLrrpGv/v0BpDXGe45sJM0WJpMxeXAWV7rks2fwNmM9W1LHQjM/mUDWRPZ71Lk7KXiqtwrgLBGIAT0vM66a8I11nHj/0dmQZe7RyaMgpkm0VM2Heo092sAihDQv/BCgekHHg2MUidSn7x+8XWi0CnVCcUlpdF5BsvEQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZy1N-00024i-TW for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2024 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72425 X-GNU-PR-Package: emacs Original-Received: via spool by 72425-submit@debbugs.gnu.org id=B72425.17226271497924 (code B ref 72425); Fri, 02 Aug 2024 19:33:01 +0000 Original-Received: (at 72425) by debbugs.gnu.org; 2 Aug 2024 19:32:29 +0000 Original-Received: from localhost ([127.0.0.1]:53758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZy0q-00023k-On for submit@debbugs.gnu.org; Fri, 02 Aug 2024 15:32:28 -0400 Original-Received: from mxout6.mail.janestreet.com ([64.215.233.21]:35183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZy0n-00023J-QH for 72425@debbugs.gnu.org; Fri, 02 Aug 2024 15:32:27 -0400 In-Reply-To: (Drew Adams's message of "Fri, 2 Aug 2024 16:24:46 +0000") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1722627120; bh=zmzv4YUfynYyBH1zzGNMpHgC7/KOE/nKzm7G0mSSNak=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=RZN6LxEZyVs4y+EpevSkWr0acvD/z0C792Tug308HkEhKj/pWCngYcQrUY9J3DZx7 SfkNl5kP5hT5tteHabqxolobnvVyjxSIq1W5kmxKIMpzmvBBD/RogfR6Esm38/BTMD B11k4pVyZ6FJzuQuTnrrDm/5qEYJ9srdiHLXQpFdRDK74Llobeth0Ei0lFps/KrUpu pum6AVq9SivXkbaLplyHJDjX36f4omALHWh5nPEKhcWxx8qiuVvDwTiBo6N5Lyre0k dnNBlMlUtxQI2bs9kuqmCRBgBCU3PAFZNEK/8F9xEmECfI4fR2I/ZbY5dFHe2BHcHg bsX9NghJYF8rA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289650 Archived-At: Drew Adams writes: >> This is due to a regex using "." when it should use a pattern which >> actually matches anything, such as "[^z-a]". A patch to fix will >> follow. > > "[^z-a]" doesn't match any char. > > "\\(.\\|[\n]\\)" matches any char. (rx anychar) expands to [^z-a], I'm just following that. File a different bug if you think rx is wrong, and if that gets changed, I'll change this patch as well.