[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Case-sensitivity in regular expressions and sparse trees f
Re: [Orgmode] Case-sensitivity in regular expressions and sparse trees for tags
Thu, 18 Sep 2008 17:43:45 +0200
On Sep 17, 2008, at 9:38 PM, Chris Randle wrote:
Forgive me if I've misunderstood regular expressions in Emacs or
Org-mode in some fundamental way!
I have some tags which begin "CD" followed by a number. For example
* Tagged Heading :CD123:
When I ask for a sparse tree of all tags beginning with "CD", I do
'C-c / T'
And ask for tags of
This doesn't return any of the tagged headlines, but this does:
Is this a bug, or my misunderstanding? Obviously this is no
show-stopper, I just make sure that all my regexp searches are in
case, but thought I'd check.
It may be a bug, and a misunderstanding.
1. I do downcase all tage before they are tested in the matcher.
2. This seems to indicate that I do want the matching to be case-
3. I do set case-fold-search to nil, which seems to contradict (2)
For now, I recommend to write all regexps with lower case letters. I
need to try to remember why I did not set case-fold-search.
Thanks for the report.
Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.