From 61d61566abc041c744465e5f66740b49f20be6b4 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 23 Jan 2021 17:43:18 +0200 Subject: [PATCH] mu-msg-sexp: Improve list-post regexp This should catch some more addresses. --- lib/mu-msg-sexp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mu-msg-sexp.c b/lib/mu-msg-sexp.c index 0d1ab466..359ae22b 100644 --- a/lib/mu-msg-sexp.c +++ b/lib/mu-msg-sexp.c @@ -177,7 +177,8 @@ maybe_append_list_post (GString *gstr, MuMsg *msg) if (!list_post) return; - rx = g_regex_new ("?", G_REGEX_CASELESS, 0, NULL); + rx = g_regex_new ("?", + G_REGEX_CASELESS, (GRegexMatchFlags)0, NULL); g_return_if_fail(rx); if (g_regex_match (rx, list_post, 0, &minfo)) {