Merge pull request #13 from jspricke/drop_deprecated_flag

Drop G_REGEX_JAVASCRIPT_COMPAT
This commit is contained in:
jun7 2022-09-24 08:22:37 +09:00 committed by GitHub
commit 9a4cb1b16a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);