Lines Matching +full:non +full:- +full:inverted
13 * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0)
14 * @pat: Shell-style pattern to match, e.g. "*.[ch]".
17 * Perform shell-style glob matching, returning true (1) if the match
21 * (And, inside character classes, !, - and ].)
25 * does not preprocess the patterns. It is non-recursive, and run-time
35 * are complemented by a leading !; this does not support the regex-style
36 * [^a-z] syntax.
64 case '*': /* Any-length wildcard */ in glob_match()
68 back_str = --str; /* Allow zero-length match */ in glob_match()
73 bool match = false, inverted = (*pat == '!'); in glob_match() local
74 char const *class = pat + inverted; in glob_match()
80 * range a-b. The first span may begin with ']'. in glob_match()
88 if (class[0] == '-' && class[1] != ']') { in glob_match()
100 if (match == inverted) in glob_match()