Drop G_REGEX_JAVASCRIPT_COMPAT

b38d5a991f/NEWS (L186-190)
This commit is contained in:
Jochen Sprickerhof 2022-09-21 12:40:17 +02:00 committed by jun7
parent b76bf363c0
commit e1c1203be0

View File

@ -304,7 +304,7 @@ ephy_uri_tester_compile_regexp (EphyUriTester *tester,
len = gpatt->len; len = gpatt->len;
/* TODO: Play with optimization flags */ /* 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); G_REGEX_MATCH_NOTEMPTY, &error);
if (error) { if (error) {
g_warning ("%s: %s", G_STRFUNC, error->message); g_warning ("%s: %s", G_STRFUNC, error->message);