Re: regex search in the body

Subject: Re: regex search in the body

Date: Wed, 02 Apr 2025 05:36:32 +0200

To: notmuch@notmuchmail.org

Cc:

From: Peter Münster


On Wed, Mar 26 2025, David Bremner wrote:

>> I would like to find all messages with the substring "identité":
>> - identité
>> - identités
>> - l'identité
>> - l’identité
>> - d'identité
>> - d’identité
>
> The follow source change seems to enable it at least for s-expression
> queries:

Thank you, this is very useful!

It works well with Emacs, I just need to
(setq gnus-search-notmuch-switches '("--query=sexp")).

It’s not important, but it would be nice to have one further
enhancement, so that the "*" wildcard works also with --query=sexp.
Example:
"--query=sexp prefix*" should give the same results as just "prefix*".

-- 
           Peter

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: