Re: regex search in the body

Subject: Re: regex search in the body

Date: Wed, 02 Apr 2025 10:09:37 -0300

To: Michael J Gruber, Peter Münster

Cc: notmuch@notmuchmail.org

From: David Bremner


Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:

>
> I can't even find the form `prefix*` in the search term documentation
> (just `*`). SInce it's "a little bit of glob but not really" and we
> have regex searches now I would advocate for turning off `prefix*`
> because it's just confusing ("Oh, globbing works!" - "No, it
> doesn't.") and unsystematic (`*suffix` ...).
>

Unfortunately there are still a few places that Xapian wildcards (aka
'*') work that regexps do not, even in sexp-queries. So this would be a
small loss in functionality.

Maybe the answer is to enable regexp queries more places, I'm not sure.

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

Thread: