Re: regex search in the body

Subject: Re: regex search in the body

Date: Wed, 02 Apr 2025 08:25:40 -0300

To: Peter Münster, notmuch@notmuchmail.org

Cc:

From: David Bremner


Peter Münster <pm@a16n.net> writes:
> 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*".

In case you missed it, there is an equivalent sexp query

   '(starts-with prefix)'

Obviously that's a bit more typing.

There is also the more general

    '(infix prefix*)'

which basically punts to the other query parser. This has various bugs
and inconsistencies.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: