Re: Regex negative lookahead failed

Subject: Re: Regex negative lookahead failed

Date: Sat, 24 Apr 2021 13:03:18 -0300

To: Michael J Gruber, Erwan Hingant, notmuch@notmuchmail.org

Cc:

From: David Bremner


Michael J Gruber <git@grubix.eu> writes:

> But, assertions are really for the case where you want to base a match
> result (true/false) on parts of the expression that you do not want to
> be part of the match itself. As far as I understand, matching in xapian
> is solely about the true/false result, so I'm wondering when you would
> really need lookahead and lookbehind (instead of groups).

Pedantic correction, the regex support in notmuch is not provided by
Xapian, but something bolted on by notmuch. That explains some (but not
all!) of its quirks.

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

Thread: