diff doc/lispref/searching.texi @ 105922:68729184628a

* searching.texi (Char Classes): Note that [:upper:] and [:lower:] are affected by case-fold-search (Bug#4483).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 08 Nov 2009 23:19:11 +0000
parents caa79498564a
children 1d1d5d9bd884
line wrap: on
line diff
--- a/doc/lispref/searching.texi	Sun Nov 08 23:05:49 2009 +0000
+++ b/doc/lispref/searching.texi	Sun Nov 08 23:19:11 2009 +0000
@@ -539,8 +539,9 @@
 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}).
+This matches any lower-case letter, as determined by the current case
+table (@pxref{Case Tables}).  If @code{case-fold-search} is
+non-@code{nil}, this also matches any upper-case letter.
 @item [:multibyte:]
 This matches any multibyte character (@pxref{Text Representations}).
 @item [:nonascii:]
@@ -557,8 +558,9 @@
 @item [:unibyte:]
 This matches any unibyte character (@pxref{Text Representations}).
 @item [:upper:]
-This matches any upper-case letter, as determined by
-the current case table (@pxref{Case Tables}).
+This matches any upper-case letter, as determined by the current case
+table (@pxref{Case Tables}).  If @code{case-fold-search} is
+non-@code{nil}, this also matches any lower-case letter.
 @item [:word:]
 This matches any character that has word syntax (@pxref{Syntax Class
 Table}).