From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15107: [PATCH] Add replace-regexp-in-string regression test Date: Wed, 31 Aug 2016 18:01:12 +0300 Message-ID: <83k2exkmo7.fsf@gnu.org> References: <87eh9uk3c6.fsf@blah.blah> <83twe1kod4.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1472655752 31239 195.159.176.226 (31 Aug 2016 15:02:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2016 15:02:32 +0000 (UTC) Cc: 15107@debbugs.gnu.org To: Erik Anderson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 31 17:02:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf71w-00078t-Hq for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2016 17:02:20 +0200 Original-Received: from localhost ([::1]:54523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf71u-0000br-9r for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2016 11:02:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf71j-0000bJ-MO for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 11:02:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf71f-0007ls-4g for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 11:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf71f-0007lj-1t for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 11:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bf71e-0000jr-IF for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2016 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 15107-submit@debbugs.gnu.org id=B15107.14726556942800 (code B ref 15107); Wed, 31 Aug 2016 15:02:02 +0000 Original-Received: (at 15107) by debbugs.gnu.org; 31 Aug 2016 15:01:34 +0000 Original-Received: from localhost ([127.0.0.1]:45568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf718-0000j2-Ea for submit@debbugs.gnu.org; Wed, 31 Aug 2016 11:01:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf712-0000if-EA for 15107@debbugs.gnu.org; Wed, 31 Aug 2016 11:01:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf70u-0007e7-75 for 15107@debbugs.gnu.org; Wed, 31 Aug 2016 11:01:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf70u-0007e3-3g; Wed, 31 Aug 2016 11:01:16 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2968 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bf70s-0001xd-6U; Wed, 31 Aug 2016 11:01:14 -0400 In-reply-to: (message from Erik Anderson on Wed, 31 Aug 2016 14:36:06 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122804 Archived-At: > From: Erik Anderson > Date: Wed, 31 Aug 2016 14:36:06 +0000 > Cc: 15107@debbugs.gnu.org > > Per the replace-regexp-in-string docstring: "Replace all matches for REGEXP with REP in STRING." Yes, and there is a single match in this case, so a single replacement. The _entire_ input string matches the regexp, so after that match there's nothing else left to match. What am I missing?