Julian Foad <julianfoad_at_gmail.com> writes:
>> Should there be a command-line flag to disable casefolding?
> No. Not unless we also want to provide all the other kinds of control for
> specialist searching, such as regexes, specifying which of the metadata
> fields to look in, boolean operators, etc. -- and I think it would be silly
> for the project to go that way. Like Brane said, keep it simple.
Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
> P.S. This patch introduces a minor behaviour change: before this patch,
> the search pattern «foo[A-z]bar» would match the log message «foo_bar»,
> whereas after this change it would not. (This is because the pattern is
> now casefolded between being passed to APR, and '_' is between 'A'
> and 'z' but not between 'A' and 'Z', when compared as C chars.) I doubt
> anyone will notice this behaviour change; I'm just mentioning it for
That's a good point. However, I am not sure that there is an easy way
to solve this (IMHO, edge) case.
Received on 2016-03-15 19:10:18 CET