.
This commit is contained in:
parent
1db2f91385
commit
b645de7bdf
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user