match_pattern
int match_pattern(const char *str, size_t len, const char *pattern)
static bool match_pattern(struct btf *btf, char *pattern, char *text, char *reg_map[][2])