diff --git a/src/pcresearch.c b/src/pcresearch.c index 9ba1227..8002507 100644 --- a/src/pcresearch.c +++ b/src/pcresearch.c @@ -186,8 +186,9 @@ Pexecute (char const *buf, size_t size, size_t *match_size, _("exceeded PCRE's backtracking limit")); case PCRE_ERROR_BADUTF8: - error (EXIT_TROUBLE, 0, + error (0, 0, _("invalid UTF-8 byte sequence in input")); + break; default: /* For now, we lump all remaining PCRE failures into this basket.