emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/searching.texi [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lispref/searching.texi [lexbind]
Date: Thu, 20 Nov 2003 19:36:48 -0500

Index: emacs/lispref/searching.texi
diff -c emacs/lispref/searching.texi:1.39.2.2 
emacs/lispref/searching.texi:1.39.2.3
*** emacs/lispref/searching.texi:1.39.2.2       Tue Oct 14 19:10:12 2003
--- emacs/lispref/searching.texi        Thu Nov 20 19:35:47 2003
***************
*** 293,301 ****
  
  You can also include character ranges in a character alternative, by
  writing the starting and ending characters with a @samp{-} between them.
! Thus, @samp{[a-z]} matches any lower-case @sc{ascii} letter.  Ranges may be
  intermixed freely with individual characters, as in @samp{[a-z$%.]},
! which matches any lower case @sc{ascii} letter or @samp{$}, @samp{%} or
  period.
  
  Note that the usual regexp special characters are not special inside a
--- 293,301 ----
  
  You can also include character ranges in a character alternative, by
  writing the starting and ending characters with a @samp{-} between them.
! Thus, @samp{[a-z]} matches any lower-case @acronym{ASCII} letter.  Ranges may 
be
  intermixed freely with individual characters, as in @samp{[a-z$%.]},
! which matches any lower case @acronym{ASCII} letter or @samp{$}, @samp{%} or
  period.
  
  Note that the usual regexp special characters are not special inside a
***************
*** 326,339 ****
  @var{c1} is the first character of the charset to which @var{c2}
  belongs.
  
! You cannot always match all address@hidden 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 address@hidden characters have codes
  above octal 0377.  However, the regular expression @code{"[^\000-\177]"}
! does match all address@hidden characters (see below regarding @samp{^}),
  in both multibyte and unibyte representations, because only the
! @sc{ascii} characters are excluded.
  
  Starting in Emacs 21, a character alternative can also specify named
  character classes (@pxref{Char Classes}).  This is a POSIX feature whose
--- 326,339 ----
  @var{c1} is the first character of the charset to which @var{c2}
  belongs.
  
! You cannot always match all address@hidden 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 address@hidden characters have codes
  above octal 0377.  However, the regular expression @code{"[^\000-\177]"}
! does match all address@hidden characters (see below regarding @samp{^}),
  in both multibyte and unibyte representations, because only the
! @acronym{ASCII} characters are excluded.
  
  Starting in Emacs 21, a character alternative can also specify named
  character classes (@pxref{Char Classes}).  This is a POSIX feature whose
***************
*** 415,421 ****
  
  @table @samp
  @item [:ascii:]
! This matches any @sc{ascii} (unibyte) character.
  @item [:alnum:]
  This matches any letter or digit.  (At present, for multibyte
  characters, it matches anything that has word syntax.)
--- 415,421 ----
  
  @table @samp
  @item [:ascii:]
! This matches any @acronym{ASCII} (unibyte) character.
  @item [:alnum:]
  This matches any letter or digit.  (At present, for multibyte
  characters, it matches anything that has word syntax.)
***************
*** 425,444 ****
  @item [:blank:]
  This matches space and tab only.
  @item [:cntrl:]
! This matches any @sc{ascii} control character.
  @item [:digit:]
  This matches @samp{0} through @samp{9}.  Thus, @samp{[-+[:digit:]]}
  matches any digit, as well as @samp{+} and @samp{-}.
  @item [:graph:]
! This matches graphic characters---everything except @sc{ascii} control
  characters, space, and the delete character.
  @item [:lower:]
  This matches any lower-case letter, as determined by
  the current case table (@pxref{Case Tables}).
  @item [:nonascii:]
! This matches any address@hidden (multibyte) character.
  @item [:print:]
! This matches printing characters---everything except @sc{ascii} control
  characters and the delete character.
  @item [:punct:]
  This matches any punctuation character.  (At present, for multibyte
--- 425,444 ----
  @item [:blank:]
  This matches space and tab only.
  @item [:cntrl:]
! This matches any @acronym{ASCII} control character.
  @item [:digit:]
  This matches @samp{0} through @samp{9}.  Thus, @samp{[-+[:digit:]]}
  matches any digit, as well as @samp{+} and @samp{-}.
  @item [:graph:]
! This matches graphic characters---everything except @acronym{ASCII} control
  characters, space, and the delete character.
  @item [:lower:]
  This matches any lower-case letter, as determined by
  the current case table (@pxref{Case Tables}).
  @item [:nonascii:]
! This matches any address@hidden (multibyte) character.
  @item [:print:]
! This matches printing characters---everything except @acronym{ASCII} control
  characters and the delete character.
  @item [:punct:]
  This matches any punctuation character.  (At present, for multibyte




reply via email to

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