From e251c6463913bcd7c9c40b4dc168010f6de68b5a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 5 Nov 2024 21:09:53 +0100 Subject: Check for whitespace after regex using islbrk() --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 705d0ee..ab3e6d6 100644 --- a/src/util.h +++ b/src/util.h @@ -1,7 +1,10 @@ #ifndef GRAB_UTIL_H #define GRAB_UTIL_H +#include + int getenv_posnum(const char *ev, int fallback); void pcre2_bitch_and_die(int ec, const char *fmt, ...); +bool islbrk(u8view_t g); #endif /* !GRAB_UTIL_H */ \ No newline at end of file -- cgit v1.2.3