(replace-regexp-in-string): Doc fix.
This commit is contained in:
parent
e5f5192972
commit
c9bcb50778
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-10-30 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* subr.el (replace-regexp-in-string): Doc fix.
|
||||
|
||||
2002-10-29 Dave Love <fx@gnu.org>
|
||||
|
||||
* cus-start.el (selection-coding-system, scalable-fonts-allowed):
|
||||
|
|
|
@ -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\"
|
||||
"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue