Lines Matching defs:regex
73 #include <regex.h>
151 * Pattern matching routing for systems with no regex.
438 * transform - Convert a shell style pattern to a regex
440 * @regex: Resulting regular expression is put here
453 * If transform fails, @regex will not be changed.
458 static int transform(const char *pattern, char **regex)
466 if (!pattern || !regex)
507 ntfs_log_debug("Pattern '%s' replaced with regex '%s'.\n", pattern,
513 *regex = result;
709 /* set regex-flag on true ;) */
1739 * name_match - Does a file have a name matching a regex
1769 ntfs_log_perror("Couldn't compare filename with regex");
1777 ntfs_log_debug("Filename '%s' doesn't match regex.\n", file->pref_name);
2256 ntfs_log_error("ERROR: Couldn't create a regex.\n");
2307 so undelete file by regex */
2440 /* Check whether (an) inode(s) was specified or at least a regex! */
2443 ntfs_log_error("ERROR: NO inode(s) AND NO match-regex "