aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-06-02 13:14:01 -0400
committerChong Yidong2010-06-02 13:14:01 -0400
commit2c3a3c1d035e06250db54fb17ee7aec6b7c2c70a (patch)
treedb82dc5d9bd6f9932dbe9e75ad70110a0320be42
parentdbe82b27a21babf8872ce67a7a9b50ac81e11d6b (diff)
downloademacs-2c3a3c1d035e06250db54fb17ee7aec6b7c2c70a.tar.gz
emacs-2c3a3c1d035e06250db54fb17ee7aec6b7c2c70a.zip
searching.texi (Regexp Special): Replace "octal 377" with "#o377" (Bug#6283).
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/searching.texi17
2 files changed, 14 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ad8d1222827..b871c442804 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12010-06-02 Chong Yidong <cyd@stupidchicken.com>
2
3 * searching.texi (Regexp Special): Replace "octal 377"
4 with "#o377" (Bug#6283).
5
12010-05-30 Juanma Barranquero <lekktu@gmail.com> 62010-05-30 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * minibuf.texi (Basic Completion): Add missing "@end defun". 8 * minibuf.texi (Basic Completion): Add missing "@end defun".
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 48780d0a348..d1e8c549679 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -400,14 +400,15 @@ is @samp{@var{c}..?\377}, the other is @samp{@var{c1}..@var{c2}}, where
400@var{c1} is the first character of the charset to which @var{c2} 400@var{c1} is the first character of the charset to which @var{c2}
401belongs. 401belongs.
402 402
403You cannot always match all non-@acronym{ASCII} characters with the regular 403You cannot always match all non-@acronym{ASCII} characters with the
404expression @code{"[\200-\377]"}. This works when searching a unibyte 404regular expression @code{"[\200-\377]"}. This works when searching a
405buffer or string (@pxref{Text Representations}), but not in a multibyte 405unibyte buffer or string (@pxref{Text Representations}), but not in a
406buffer or string, because many non-@acronym{ASCII} characters have codes 406multibyte buffer or string, because many non-@acronym{ASCII}
407above octal 0377. However, the regular expression @code{"[^\000-\177]"} 407characters have codes above @code{#o377}. However, the regular
408does match all non-@acronym{ASCII} characters (see below regarding @samp{^}), 408expression @code{"[^\000-\177]"} does match all non-@acronym{ASCII}
409in both multibyte and unibyte representations, because only the 409characters (see below regarding @samp{^}), in both multibyte and
410@acronym{ASCII} characters are excluded. 410unibyte representations, because only the @acronym{ASCII} characters
411are excluded.
411 412
412A character alternative can also specify named 413A character alternative can also specify named
413character classes (@pxref{Char Classes}). This is a POSIX feature whose 414character classes (@pxref{Char Classes}). This is a POSIX feature whose