This commit is contained in:
anon 2023-09-23 16:52:45 +02:00
parent 1db2f91385
commit b645de7bdf
3 changed files with 47 additions and 47 deletions

View File

@ -48,7 +48,6 @@ bool is_magic(const char c) {
// -------------------
// ### Match tests ###
// -------------------
static inline
bool is_sentinel(const match_t * const match) {
return (match->position == -1)
&& (match->width == -1)

View File

@ -28,5 +28,6 @@ extern bool regex_search(const regex_t * const regex, const char * const st
extern match_t * regex_match(const regex_t * const regex, const char * const string, const bool start_of_string);
extern bool is_magic(const char c);
extern bool is_sentinel(const match_t * const match);
#endif