use new regex_search()

This commit is contained in:
anon 2023-08-24 03:15:13 +02:00
parent d80c4170b3
commit ebc97b1fce

View File

@ -177,7 +177,8 @@ int token_fits(const token_t * const token,
return true; return true;
} }
return regex_match(pattern, to, string_offset, match_offset); //return regex_match(pattern, to, string_offset, match_offset);
return regex_search(NULL, pattern + string_offset);
} }
void render_string(const char * const string, void render_string(const char * const string,