search for squre bracket

David Bremner david at tethera.net
Wed Dec 7 06:22:46 PST 2016


Jian Fan <abemud at gmail.com> writes:

> Hi,
>
> I want to search
>
> subject:[Release]
>
> i.e. emails whose subject is like:
>
> [Release] fix a bug
>
> Notmuch seems to return those and many other emails. I tried to escape,
> quote and nothing seems working.

by default xapian (and hence notmuch) uses a word based search that
essentially ignored punctation.

There is a patch to support (slower) regular expression search

      id:20161114214651.19770-1-david at tethera.net


      http://mid.tethera.net/notmuch/20161114214651.19770-1-david@tethera.net/

If you help test it, maybe it will be merged into notmuch.

d


More information about the notmuch mailing list