use new regex_search()
This commit is contained in:
parent
d80c4170b3
commit
ebc97b1fce
@ -177,7 +177,8 @@ int token_fits(const token_t * const token,
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user