From: Andreas Schwab Date: Tue, 29 Oct 2002 23:42:00 +0000 (+0000) Subject: (replace-regexp-in-string): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~12660 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9bcb50778fc934e3b730fb9534b3fb7f86412f6;p=emacs.git (replace-regexp-in-string): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 94c7a13da28..cdbf78e5eaa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2002-10-30 Andreas Schwab + + * subr.el (replace-regexp-in-string): Doc fix. + 2002-10-29 Dave Love * cus-start.el (selection-coding-system, scalable-fonts-allowed): diff --git a/lisp/subr.el b/lisp/subr.el index 857c6134719..17ca52c6292 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1790,7 +1790,7 @@ point are such that match 0 is the function's argument. To replace only the first match (if any), make REGEXP match up to \\' and replace a sub-expression, e.g. - (replace-regexp-in-string \"\\(foo\\).*\\'\" \"bar\" \" foo foo\" nil nil 1) + (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1) => \" bar foo\" "