aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/work.c b/src/work.c
index 32962ff..38dfe07 100644
--- a/src/work.c
+++ b/src/work.c
@@ -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");
}