]> git.notmuchmail.org Git - notmuch/commit
lib: drop trailing slash for path and folder searches (infix)
authorDavid Bremner <david@tethera.net>
Fri, 21 Jan 2022 23:38:51 +0000 (19:38 -0400)
committerDavid Bremner <david@tethera.net>
Thu, 27 Jan 2022 11:48:27 +0000 (07:48 -0400)
commitc62c22c9fb222d43d9b9956ce6b6e9985019ea2d
tree5aad213350188b4e3fd765c286af7c105f976a5e
parentc73e273aaf7410c16a9597a041bd09f49352ced3
lib: drop trailing slash for path and folder searches (infix)

This resolves an old bug reported by David Edmondson in 2014. The fix
is only needed for the "boolean" case, as probabilistic / phrase
searching already ignores punctuation.

This fix is only for the infix (xapian provided) query parser.

[1]: id:cunoasuolcv.fsf@gargravarr.hh.sledj.net
lib/database-private.h
lib/prefix.cc
lib/regexp-fields.cc
test/T100-search-by-folder.sh