GNU bug report logs -
#4483
info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]
Previous Next
Reported by: MON KEY <monkey <at> sandpframing.com>
Date: Fri, 18 Sep 2009 22:05:05 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
In searching.texi @subsubsection Character Classes
(info "(elisp)Char Classes")
the character alternative items:
`[:lower:]' and `[:upper:]'
should provide an indication that the classes are also affected by the
buffer local value of `case-fold-search'.
While the influence of buffer-local case variable settings _is_
discussed at the (info "(elisp)Searching and Case")
section, this is of little use where it isn't clear that the influence
of the current 'Case Table' is only indirectly related to the setting
of `case-fold-search' vis a vis regexp.
Likewise provision of an example might be nice:
,----
| (let ((case-fold-search nil))
| (search-forward-regexp "\\([\\[:lower:]]\\)"))
`----
s_P
This bug report was last modified 15 years and 194 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.