From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sat, 02 May 2020 23:39:11 -0400 Message-ID: References: <266155d4-f9c0-8ed3-8df5-32feea171076@yandex.ru> <542564DC-6DD0-41E5-A9CC-365673D68BE0@gmail.com> <93FA1F56-A056-4E17-A468-17829D638FF5@gmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="110617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 05:42:25 2020 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 1jV5WL-000Sfh-LP for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 05:42:25 +0200 Original-Received: from localhost ([::1]:32840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV5WK-0003xW-NS for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 23:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV5TG-0005zk-Pa for emacs-devel@gnu.org; Sat, 02 May 2020 23:39:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44582) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV5TG-0007et-EQ; Sat, 02 May 2020 23:39:14 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jV5TD-0000mL-9p; Sat, 02 May 2020 23:39:11 -0400 In-Reply-To: <93FA1F56-A056-4E17-A468-17829D638FF5@gmail.com> (message from Yuan Fu on Fri, 1 May 2020 19:00:24 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:248620 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. ]]] > re-search-forward re-search-forward > re-search-backward re-search-backward > replace-regexp-in-string re-replace-in-string > replace-match re-replace-match > string-match re-search-in-string > match-string re-matched-string I think this is mostly good. However, string-match does not search the string. It tries to match only at the start of the string. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)