X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=cf4eb94b0583a80c9c1ff432b243bccda83011b4;hb=5cb452c325e1f69e43dca610f48b9396cba9c039;hp=85d552999fdedc7ed903a3064544f87e51014ab8;hpb=3202e0d1feba1ab955ba1c07098c00208f8f0ada;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 85d55299..cf4eb94b 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -306,6 +306,11 @@ _notmuch_database_setup_user_query_fields (notmuch_database_t *notmuch); notmuch_status_t _notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *querystr, Xapian::Query &output); + +notmuch_status_t +_notmuch_regexp_to_query (notmuch_database_t *notmuch, Xapian::valueno slot, std::string field, + std::string regexp_str, + Xapian::Query &output, std::string &msg); #endif #endif