1 |
;;; replace.el --- replace commands for Emacs |
;;; replace.el --- replace commands for Emacs |
2 |
|
|
3 |
;; Copyright (C) 1985, 86, 87, 92, 94, 96, 1997, 2000, 2001 |
;; Copyright (C) 1985, 86, 87, 92, 94, 96, 1997, 2000, 2001, 2002 |
4 |
;; Free Software Foundation, Inc. |
;; Free Software Foundation, Inc. |
5 |
|
|
6 |
;; This file is part of GNU Emacs. |
;; This file is part of GNU Emacs. |
136 |
`prin1-to-string' with the NOESCAPE argument (which see). |
`prin1-to-string' with the NOESCAPE argument (which see). |
137 |
|
|
138 |
For convenience, when entering TO-EXPR interactively, you can use `\\&' or |
For convenience, when entering TO-EXPR interactively, you can use `\\&' or |
139 |
`\0' to stand for whatever matched the whole of REGEXP, and `\N' (where |
`\\0' to stand for whatever matched the whole of REGEXP, and `\\N' (where |
140 |
N is a digit) to stand for whatever matched the Nth `\(...\)' in REGEXP. |
N is a digit) to stand for whatever matched the Nth `\\(...\\)' in REGEXP. |
141 |
Use `\\#&' or `\\#N' if you want a number instead of a string. |
Use `\\#&' or `\\#N' if you want a number instead of a string. |
142 |
|
|
143 |
In Transient Mark mode, if the mark is active, operate on the contents |
In Transient Mark mode, if the mark is active, operate on the contents |