]> git.cworth.org Git - notmuch/commit
lib/parse-sexp: 'starts-with' wildcard searches
authorDavid Bremner <david@tethera.net>
Tue, 24 Aug 2021 15:17:24 +0000 (08:17 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 5 Sep 2021 00:07:19 +0000 (17:07 -0700)
commit011d06f4d6fec8083581676ba9f9448fe7bea1be
tree515aed465d6f99df0711f1b75346122ea8762630
parent8322f536f5d304cc10caa2e061a36df0aa1996c4
lib/parse-sexp: 'starts-with' wildcard searches

The many tests potentially overkill, but they could catch typos in the
prefixes table. As a simplifying assumption, for now we assume a
single argument to the wildcard operator, as this matches the Xapian
semantics. The name 'starts-with' is chosen to emphasize the supported
case of wildcards in currrent (1.4.x) Xapian.
doc/man7/notmuch-sexp-queries.rst
lib/parse-sexp.cc
test/T081-sexpr-search.sh