[Patch v4] lib: regexp matching in 'subject' and 'from'
David Bremner
david at tethera.net
Sun Feb 5 15:28:35 PST 2017
Tomi Ollila <tomi.ollila at iki.fi> writes:
> TOn Sun, Jan 29 2017, Jani Nikula <jani at nikula.org> wrote:
>
>>
>> I'd go with an error. It's easy to loosen the rules later on if we
>> decide that's a good idea. Much harder to accept loose rules now, let
>> users get used to it, and try to tighten the rules if we realize we'd
>> need that for some reason.
>
> I agree -- should we allow trailing slash ('/') without first char also
> being '/' (e.g. subject:blah/)
>
I'd say that should also be an error. it doesn't add anything useful to
subject search. Even for path search, (which is non-trivial to add regex
search for, I think) the trailing / doesn't add anything does it?
d
More information about the notmuch
mailing list