From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Code for cond* - cond*-match, cond*-subpat and backtrack-aliases Date: Sun, 28 Jan 2024 22:19:13 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 29 04:20:10 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rUIBt-0008jK-Gw for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Jan 2024 04:20:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUIB3-00008U-Lm; Sun, 28 Jan 2024 22:19:17 -0500 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 1rUIB0-00007o-4d for emacs-devel@gnu.org; Sun, 28 Jan 2024 22:19:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUIAz-00052E-Oe; Sun, 28 Jan 2024 22:19:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=WbFunzYBKR82u9cnqBtehrf5DJWi4iGXjzmW+mCasXk=; b=CJvTxupRDMe9 PKDLvZGVVL3TpETqTMaSLSJ4hM4WBgF5xZyfKJAmjiYFQNkrpYgSSY3ETmjggoTrTmS6JDHGKzTJ5 350DnsaN85O6xshpOIH1fd50I4/IBJk66I6wRJ9xEog4vJgdfijR9OBvRy/bHEfHhJFxMLlu0/CIp BYs4HPIfVjQibDxR00fAl0HZlu7PkzWzFDGG4LtQEXyNS2R9tUFYaAErjWtwS9Q3AZQwqt5erzBaW Sb+42VqqZSdHB4LpA0q/E3l5R3YDQZzBRKt40mVQjVISxgyfjtIxT6VIBIDdqmpYxxnHaC7Ph20jv Xf52KQWe8Zdw3ylRhA/pmw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rUIAz-0007XH-Gu; Sun, 28 Jan 2024 22:19:13 -0500 In-Reply-To: (message from Alan Mackenzie on Thu, 25 Jan 2024 14:01:47 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315575 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 4/- There are several place where "\\>" is appended to a regexp. Would > "\\_>" ("end of symbol"), which we've had in Emacs for 10 or 15 years > now, perhaps be better? /> in a regexp means "end of the text to be matched". The result of that, in string-match, is that it has to match the whole of the datum. That's the behavior I had in mind. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)