bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15107: [PATCH] Add replace-regexp-in-string regression test


From: Eli Zaretskii
Subject: bug#15107: [PATCH] Add replace-regexp-in-string regression test
Date: Wed, 31 Aug 2016 18:01:12 +0300

> From: Erik Anderson <erikbpanderson@gmail.com>
> 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?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]