unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Erwan Hingant <erwan.hingant@mailo.com>
To: notmuch@notmuchmail.org
Subject: Regex negative lookahead failed
Date: Sat, 24 Apr 2021 00:32:53 -0400	[thread overview]
Message-ID: <faa3b934-ce05-01e5-9392-4dba06b8cf86@mailo.com> (raw)

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.


\r

             reply	other threads:[~2021-04-24  4:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  4:32 Erwan Hingant [this message]
2021-04-24 10:57 ` Regex negative lookahead failed David Bremner
2021-04-24 12:34   ` Michael J Gruber
2021-04-24 16:03     ` David Bremner
2021-04-24 16:52   ` Erwan Hingant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=faa3b934-ce05-01e5-9392-4dba06b8cf86@mailo.com \
    --to=erwan.hingant@mailo.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).