Unexpected output of "notmuch new --quiet"
david at tethera.net
Fri Apr 19 09:25:57 PDT 2019
Ralph Seichter <abbot at monksofcool.net> writes:
> * Ralph Seichter:
> Odd. I am currently adding this entry to some users' config files, and
> the expression //dovecot[[:punct:]]/ does not seem to work in all
> cases. Based on notmuch-search-terms(7) I assumed that Notmuch used
> POSIX.2 regular expressions, does it not?
I think I can duplicate the problem you see, and it's not about POSIX.2,
but rather that the paths are stored in the database (and match)
relative to the top level Maildir. So the leading '/' isn't there to
match for top level files.
This version seems to work for me.
Maybe regexp experts can suggest the canonical way to do this;
potentially we could add another example to the docs.
More information about the notmuch