# HG changeset patch # User Andreas Schwab # Date 1035934847 0 # Node ID 69077a78e52f8a45a3db26ef03a195e98e3863fc # Parent cfd8d2ecd2a864767121052c98c414ff38628ad3 (replace-regexp-in-string): Doc fix. diff -r cfd8d2ecd2a8 -r 69077a78e52f lisp/subr.el --- 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\" "