From: David Bremner Date: Fri, 24 Mar 2017 22:52:51 +0000 (-0300) Subject: lib: handle empty string in regexp field processors X-Git-Tag: 0.24.1~8 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=cb84f8487833c19ce13edb769fa6421547077725;hp=cb84f8487833c19ce13edb769fa6421547077725 lib: handle empty string in regexp field processors The non-field processor behaviour is is convert the corresponding queries into a search for the unprefixed terms. This yields pretty surprising results so I decided to generate a query that would match the terms (i.e. none with that prefix) generated for an empty header. ---