diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-12 12:14:17 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-12 12:14:24 +0100 |
commit | de93679b5f79143a3260832423879b4c411475c7 (patch) | |
tree | c574112d9d93cf6435dd1878ac54732ad9530206 /src | |
parent | db26e142d85621a5b79b1c1e44a909108637eaf7 (diff) |
Fix broken G// implementation
Diffstat (limited to 'src')
-rw-r--r-- | src/work.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ DEFINE_OPERATOR(G) if (n == PCRE2_ERROR_NOMATCH) operator_dispatch(opi + 1, sv, hl); - if (n < 0) + else if (n < 0) pcre2_bitch_and_die(n, "failed to match regex"); } |