Hey,

Trying to add List matching to my notmuch tagging and I found
something that surprises me. Namely,

1) when I want to match a bunch of alternatives for <from:>
prefix, I have to quote the parenthesis to get the results:

$ notmuch search 'from:"([email protected] or [email protected])"'
<results found>
$ notmuch search 'from:([email protected] or [email protected])'
<no results>

2) when I want to do the same to a parenthesised set of <List:>
alternatives, I must leave it unquoted to get the results.

$ notmuch search 'List:"([email protected] or [email protected])"'
<no results>
$ notmuch search 'List:([email protected] or [email protected])'
<results found>

I use the standard "index.header.List=List-Id" key-value as
pointed out in notmuch-config(1).

Is this expected behaviour? If so, why?


Regards,
Artur
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to