diff options
| author | David Bremner <david@tethera.net> | 2022-02-24 22:41:03 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-03-19 07:27:29 -0300 |
| commit | 8ed6a172b35708428f84f30af44fa81c12852e43 (patch) | |
| tree | 64c1a4a8b2beb13abacb74aa77ecaefb555ec976 /doc/man7 | |
| parent | c9ed87f39f54b83ecafc719e848909da6074075f (diff) | |
lib: do not phrase parse prefixed bracketed subexpressions
Since Xapian does not preserve quotes when passing the subquery to a
field processor, we have to make a guess as to what the user
intended. Here the added assumption is that a string surrounded by
parens is not intended to be a phrase.
Diffstat (limited to 'doc/man7')
| -rw-r--r-- | doc/man7/notmuch-search-terms.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index e80cc7d0..f8ad1edb 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -275,11 +275,13 @@ the same phrase. - a.list.of.words Both parenthesised lists of terms and quoted phrases are ok with -probabilistic prefixes such as **to:**, **from:**, and **subject:**. In particular +probabilistic prefixes such as **to:**, **from:**, and **subject:**. +For prefixes supporting regex search, the parenthesised list should be +quoted. In particular :: - subject:(pizza free) + subject:"(pizza free)" is equivalent to |
