]> git.notmuchmail.org Git - notmuch/commit
lib: Add regexp expansion for for tags and paths
authorDavid Bremner <david@tethera.net>
Wed, 8 Mar 2017 02:32:26 +0000 (22:32 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 9 May 2017 10:44:29 +0000 (07:44 -0300)
commit11d47950c18f2d19718e35b7264dabf2ff2fd621
treedade17b6022433f45bb3f4c0af3e7d7309620079
parenteab365c742f86b52729ec2a5acaba1a798f94661
lib: Add regexp expansion for for tags and paths

From a UI perspective this looks similar to what was already provided
for from, subject, and mid, but the implementation is quite
different. It uses the database's list of terms to construct a term
based query equivalent to the passed regular expression.
lib/database.cc
lib/regexp-fields.cc
test/T650-regexp-query.sh