Regex negative lookahead failed

Subject: Regex negative lookahead failed

Date: Sat, 24 Apr 2021 00:32:53 -0400

To: notmuch@notmuchmail.org

Cc:

From: Erwan Hingant


Hello,

  I have some troubles with regex negative lookahead. When searching 
in 
all directories but one (say inbox), I do the following query:

 > notmuch search folder:"/^(?!inbox)/"

and I receive the following error:

     notmuch search: A Xapian exception occurred
     A Xapian exception occurred parsing query: Regexp error: Invalid 
preceding regular expression
     Query string was: folder:"/^(?!inbox)/"

Bests,

Erwan.



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

Thread: