changeset 48077:69077a78e52f

(replace-regexp-in-string): Doc fix.
author Andreas Schwab <schwab@suse.de>
date Tue, 29 Oct 2002 23:40:47 +0000
parents cfd8d2ecd2a8
children 96b43a977d03
files lisp/subr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Tue Oct 29 18:51:52 2002 +0000
+++ b/lisp/subr.el	Tue Oct 29 23:40:47 2002 +0000
@@ -1790,7 +1790,7 @@
 
 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\"
 "