Re: [Patch v2] lib: regexp matching in 'subject' and 'from'

2017-01-19 Thread David Bremner
David Bremner writes: > the idea is that you can run > > % notmuch search re:subject: > % notmuch search re:from:' > > or > > % notmuch search subject:"your usual phrase search" > % notmuch search from:"usual phrase search" I'm not sure how useful it is, but here's an

Re: [Patch v2] lib: regexp matching in 'subject' and 'from'

2017-01-18 Thread David Bremner
Jani Nikula writes: > I played around with this a bit, and it seemed to work. Unsurprisingly, > getting the quoting right was the hardest part. Even though I know how > the stuff works under the hood, it took me a while to realize that you > have to use 're:"subject:"' to make

Re: [Patch v2] lib: regexp matching in 'subject' and 'from'

2017-01-18 Thread Jani Nikula
On Mon, 14 Nov 2016, David Bremner wrote: > the idea is that you can run > > % notmuch search re:subject: > % notmuch search re:from:' > > or > > % notmuch search subject:"your usual phrase search" > % notmuch search from:"usual phrase search" > > This should also work with