Mercurial > emacs
changeset 108930:964c7b675743
searching.texi (Regexp Special): Replace "octal 377" with "#o377" (Bug#6283).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 02 Jun 2010 13:14:01 -0400 |
parents | 739b55c58952 |
children | b3a058f166f0 |
files | doc/lispref/ChangeLog doc/lispref/searching.texi |
diffstat | 2 files changed, 14 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/ChangeLog Tue Jun 01 21:54:55 2010 -0700 +++ b/doc/lispref/ChangeLog Wed Jun 02 13:14:01 2010 -0400 @@ -1,3 +1,8 @@ +2010-06-02 Chong Yidong <cyd@stupidchicken.com> + + * searching.texi (Regexp Special): Replace "octal 377" + with "#o377" (Bug#6283). + 2010-05-30 Juanma Barranquero <lekktu@gmail.com> * minibuf.texi (Basic Completion): Add missing "@end defun".
--- a/doc/lispref/searching.texi Tue Jun 01 21:54:55 2010 -0700 +++ b/doc/lispref/searching.texi Wed Jun 02 13:14:01 2010 -0400 @@ -400,14 +400,15 @@ @var{c1} is the first character of the charset to which @var{c2} belongs. -You cannot always match all non-@acronym{ASCII} characters with the regular -expression @code{"[\200-\377]"}. This works when searching a unibyte -buffer or string (@pxref{Text Representations}), but not in a multibyte -buffer or string, because many non-@acronym{ASCII} characters have codes -above octal 0377. However, the regular expression @code{"[^\000-\177]"} -does match all non-@acronym{ASCII} characters (see below regarding @samp{^}), -in both multibyte and unibyte representations, because only the -@acronym{ASCII} characters are excluded. +You cannot always match all non-@acronym{ASCII} characters with the +regular expression @code{"[\200-\377]"}. This works when searching a +unibyte buffer or string (@pxref{Text Representations}), but not in a +multibyte buffer or string, because many non-@acronym{ASCII} +characters have codes above @code{#o377}. However, the regular +expression @code{"[^\000-\177]"} does match all non-@acronym{ASCII} +characters (see below regarding @samp{^}), in both multibyte and +unibyte representations, because only the @acronym{ASCII} characters +are excluded. A character alternative can also specify named character classes (@pxref{Char Classes}). This is a POSIX feature whose