From 1fac46af48fb636e4c91cf86e16073d985a418a8 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Wed, 21 Sep 2022 12:40:17 +0200 Subject: [PATCH] Drop G_REGEX_JAVASCRIPT_COMPAT https://gitlab.gnome.org/GNOME/glib/-/blob/b38d5a991f1d86f5c7d6b00d6f8aecf888b1420b/NEWS#L186-190 --- ephy-uri-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ephy-uri-tester.c b/ephy-uri-tester.c index a0214f8..bdfc1bc 100644 --- a/ephy-uri-tester.c +++ b/ephy-uri-tester.c @@ -304,7 +304,7 @@ ephy_uri_tester_compile_regexp (EphyUriTester *tester, len = gpatt->len; /* TODO: Play with optimization flags */ - regex = g_regex_new (patt, G_REGEX_OPTIMIZE | G_REGEX_JAVASCRIPT_COMPAT, + regex = g_regex_new (patt, G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, &error); if (error) { g_warning ("%s: %s", G_STRFUNC, error->message);