[PATCH] doc: add a section on quoting to notmuch-search-terms(7)

Tomi Ollila tomi.ollila at iki.fi
Wed Apr 25 04:46:12 PDT 2018


On Tue, Apr 24 2018, David Bremner wrote:

> Tomi Ollila <tomi.ollila at iki.fi> writes:
>
>
>> Btw, the ones who have notmuch email since 2011-10-18 can try the
>> following:
>>  
>>     notmuch count 'from:/Richard Stallman/'
>>     3
>
>
> A Xapian exception occurred parsing query: unmatched regex delimiter in
> '/Richard'

Interesting...

>
>>     notmuch count 'from:/Richard Stallma/' 
>>     0
>
> A Xapian exception occurred parsing query: unmatched regex delimiter in '/Richard'
>
>>     notmuch count 'from:"/Richard Stallman/"'
>>     3
>
> Well, I have 7 messages, but I report Emacs bugs...
>
>>     notmuch count 'from:"/Richard Stallma/"'
>>     0
>>
>
> Also 7

Looks better than mine :D

>> I find all but 3rd odd (1st one "works" even there are spaces, and 
>> second and last don't find matches...).
>
> I don't what's going on with your results. Maybe old Xapian?

 xapian-core/current -> 1.2.24

Did our documentation mentioned regexp searches require Xapian 1.4+.

>
> d

Tomi



More information about the notmuch mailing list