* searching.texi (Char Classes): Note that [:upper:] and [:lower:]
authorChong Yidong <cyd@stupidchicken.com>
Sun, 8 Nov 2009 23:19:11 +0000 (23:19 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 8 Nov 2009 23:19:11 +0000 (23:19 +0000)
are affected by case-fold-search (Bug#4483).

doc/lispref/ChangeLog
doc/lispref/searching.texi

index e455d15..beb3cff 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * searching.texi (Char Classes): Note that [:upper:] and [:lower:]
+       are affected by case-fold-search (Bug#4483).
+
 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
 
        * minibuf.texi (Reading File Names): Note that read-file-name may
index 60b807c..c852b7e 100644 (file)
@@ -539,8 +539,9 @@ matches any digit, as well as @samp{+} and @samp{-}.
 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 @@ This matches any character that has whitespace syntax
 @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}).