unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Regex negative lookahead failed
@ 2021-04-24  4:32 Erwan Hingant
  2021-04-24 10:57 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Erwan Hingant @ 2021-04-24  4:32 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-24 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24  4:32 Regex negative lookahead failed Erwan Hingant
2021-04-24 10:57 ` David Bremner
2021-04-24 12:34   ` Michael J Gruber
2021-04-24 16:03     ` David Bremner
2021-04-24 16:52   ` Erwan Hingant

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).