* search for squre bracket
@ 2016-12-06 21:49 Jian Fan
2016-12-07 14:22 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Jian Fan @ 2016-12-06 21:49 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
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.
Thanks.
Jian
[-- Attachment #2: Type: text/html, Size: 409 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: search for squre bracket
2016-12-06 21:49 search for squre bracket Jian Fan
@ 2016-12-07 14:22 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2016-12-07 14:22 UTC (permalink / raw)
To: Jian Fan, notmuch
Jian Fan <abemud@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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-07 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-06 21:49 search for squre bracket Jian Fan
2016-12-07 14:22 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).