Lines Matching refs:regex
34 #include <regex.h>
74 * \param regex The regexp to look for.
80 grep_string(const char *regex, const char *str)
85 printf("Looking for '%s' in '%s'\n", regex, str);
86 ATF_REQUIRE(regcomp(&preg, regex, REG_EXTENDED) == 0);
291 * \param regex The regexp to look for.
293 * \param ... Positional parameters to the regex.
297 atf_utils_grep_file(const char *regex, const char *file, ...)
305 error = atf_dynstr_init_ap(&formatted, regex, ap);
325 * \param regex The regexp to look for.
327 * \param ... Positional parameters to the regex.
331 atf_utils_grep_string(const char *regex, const char *str, ...)
339 error = atf_dynstr_init_ap(&formatted, regex, ap);