emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/search.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/man/search.texi
Date: Wed, 12 Apr 2006 19:32:04 +0000

Index: emacs/man/search.texi
diff -u emacs/man/search.texi:1.75 emacs/man/search.texi:1.76
--- emacs/man/search.texi:1.75  Wed Apr 12 13:39:58 2006
+++ emacs/man/search.texi       Wed Apr 12 19:32:04 2006
@@ -752,7 +752,8 @@
 @item address@hidden
 @cindex back reference, in regexp
 matches the same text that matched the @var{d}th occurrence of a
address@hidden( @dots{} \)} construct (a.k.a.@: @dfn{back reference}).
address@hidden( @dots{} \)} construct.  This is called a @dfn{back
+reference}.
 
 After the end of a @samp{\( @dots{} \)} construct, the matcher remembers
 the beginning and end of the text matched by that construct.  Then,
@@ -1009,10 +1010,11 @@
 @samp{\&} in @var{newstring} stands for the entire match being
 replaced.  @address@hidden in @var{newstring}, where @var{d} is a
 digit, stands for whatever matched the @var{d}th parenthesized
-grouping in @var{regexp} (a.k.a.@: ``back reference'').  @samp{\#}
-refers to the count of replacements already made in this command, as a
-decimal number.  In the first replacement, @samp{\#} stands for
address@hidden; in the second, for @samp{1}; and so on.  For example,
+grouping in @var{regexp}.  (This is called a ``back reference''.)
address@hidden refers to the count of replacements already made in this
+command, as a decimal number.  In the first replacement, @samp{\#}
+stands for @samp{0}; in the second, for @samp{1}; and so on.  For
+example,
 
 @example
 M-x replace-regexp @key{RET} c[ad]+r @key{RET} \&-safe @key{RET}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]