Expand description
Glob matching with the defaults of minimatch, which pi uses for package resource patterns and model scopes.
Supported: brace expansion ({a,b}, {1..3}), * and ? within a path
segment, [...] classes with ! or ^ negation and ranges, ** across
segments, and \ escapes. As in minimatch, *, ? and ** do not match
a segment’s leading ., and a leading ./ in the pattern is ignored.
Extglobs such as +(a|b) are not supported.
Functions§
- matches
- Whether
textmatchespattern. - matches_
with - Whether
textmatchespattern, ignoring case whennocaseis set.