Lines Matching defs:regex
38 #include <regex.h>
50 * \param regex The regexp to look for.
56 grep_string(const char *regex, const char *str)
61 printf("Looking for '%s' in '%s'\n", regex, str);
62 ATF_REQUIRE(regcomp(&preg, regex, REG_EXTENDED) == 0);
258 * \param regex The regexp to look for.
260 * \param ... Positional parameters to the regex.
264 atf_utils_grep_file(const char *regex, const char *file, ...)
272 error = atf_dynstr_init_ap(&formatted, regex, ap);
292 * \param regex The regexp to look for.
294 * \param ... Positional parameters to the regex.
298 atf_utils_grep_string(const char *regex, const char *str, ...)
306 error = atf_dynstr_init_ap(&formatted, regex, ap);