Re: [exim-dev] Add case-ignore to exiqgrep

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: Todd Lyons
CC: exim-dev, Jeremy Harris
Assumpte: Re: [exim-dev] Add case-ignore to exiqgrep
On 2013-09-03 at 09:52 -0700, Todd Lyons wrote:
> I spoke with Jeremy in IRC with my positions against this as the
> default mode (basically, case insensitive searches are slower).
> Jeremy stunned me with probably the simplest argument for case
> insensitve search:
>
> <jgh> my argument is that they're supposed to be interpreted
> case-insensitively...
> <jgh> so searching case-sensitive is almost always the wrong thing to be doing
>
> Game, set, and match to Jeremy. Now I too think it should always be
> case insensitve. Period. No option to change, nothing.
>
> Agreement, disagreement? It's a simple change, and I'll commit it
> after a few others chime in with ok's. I want to hear the ok's
> because it changes the default operation of a utility from this point
> forward.


Short version: Agree.

Technically, we should be defaulting to case-insensitive for domains,
but *not* for left-hand-sides, but in practice, the number of cases
where case in the LHS is semantically significant is so small that I'm
not convinced it's worth bothering to support.

-Phil