diff options
| -rw-r--r-- | src/work.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -195,8 +195,7 @@ DEFINE_OPERATOR(g) { pcre2_match_data *md = pcre2_match_data_create_from_pattern(ops[opi].re, nullptr); - int n = pcre2_jit_match(ops[opi].re, sv.p, sv.len, 0, PCRE2_NOTEMPTY, - md, nullptr); + int n = pcre2_jit_match(ops[opi].re, sv.p, sv.len, 0, 0, md, nullptr); pcre2_match_data_free(md); if (n == PCRE2_ERROR_NOMATCH) @@ -211,8 +210,7 @@ DEFINE_OPERATOR(G) { pcre2_match_data *md = pcre2_match_data_create_from_pattern(ops[opi].re, nullptr); - int n = pcre2_jit_match(ops[opi].re, sv.p, sv.len, 0, PCRE2_NOTEMPTY, - md, nullptr); + int n = pcre2_jit_match(ops[opi].re, sv.p, sv.len, 0, 0, md, nullptr); pcre2_match_data_free(md); if (n == PCRE2_ERROR_NOMATCH) |