diff lisp/subr.el @ 48077:69077a78e52f

(replace-regexp-in-string): Doc fix.
author Andreas Schwab <schwab@suse.de>
date Tue, 29 Oct 2002 23:40:47 +0000
parents 0bb8dc016c43
children 33dafec6a9de
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\"
 "