Lines Matching defs:regex
71 #include <regex.h>
275 * transform - Convert a shell style pattern to a regex
277 * @regex: Resulting regular expression is put here
290 * If transform fails, @regex will not be changed.
295 static int transform(const char *pattern, char **regex)
300 if (!pattern || !regex)
340 ntfs_log_debug("Pattern '%s' replaced with regex '%s'.\n", pattern,
343 *regex = result;
531 /* set regex-flag on true ;) */
1462 * name_match - Does a file have a name matching a regex
1487 ntfs_log_perror("Couldn't compare filename with regex");
1495 ntfs_log_debug("Filename '%s' doesn't match regex.\n", file->pref_name);
1928 ntfs_log_error("ERROR: Couldn't create a regex.\n");
1974 so undelete file by regex */
2105 /* Check whether (an) inode(s) was specified or at least a regex! */
2108 ntfs_log_error("ERROR: NO inode(s) AND NO match-regex "