[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/searching.texi
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/searching.texi |
Date: |
Sat, 11 Mar 2006 21:23:11 +0000 |
Index: emacs/lispref/searching.texi
diff -u emacs/lispref/searching.texi:1.70 emacs/lispref/searching.texi:1.71
--- emacs/lispref/searching.texi:1.70 Thu Mar 9 01:55:20 2006
+++ emacs/lispref/searching.texi Sat Mar 11 21:23:11 2006
@@ -476,7 +476,7 @@
should not quote these characters when they have no special meaning
either. This would not clarify anything, since backslashes can
legitimately precede these characters where they @emph{have} special
-meaning, as in @code{[^\]} (@code{"[^\\]"} for Lisp string syntax),
+meaning, as in @samp{[^\]} (@code{"[^\\]"} for Lisp string syntax),
which matches any single character except a backslash.
In practice, most @samp{]} that occur in regular expressions close a
@@ -485,8 +485,8 @@
@samp{[} and @samp{]}. In such situations, it sometimes may be
necessary to carefully parse the regexp from the start to determine
which square brackets enclose a character alternative. For example,
address@hidden consists of the complemented character alternative
address@hidden (which matches any single character that is not a square
address@hidden consists of the complemented character alternative
address@hidden (which matches any single character that is not a square
bracket), followed by a literal @samp{]}.
The exact rules are that at the beginning of a regexp, @samp{[} is