Expand description
Wax provides opinionated and portable globs that can be matched against file paths and directory trees. Globs use a familiar syntax and support expressive features with semantics that emphasize component boundaries.
See the repository documentation for details about glob expressions and patterns.
Modules
- Re-exports of commonly used items.
- walk
walkTraversal and matching of files and directory trees.
Structs
- Combinator that matches any of its component
Programs. - Describes errors that occur when building a
Programfrom a glob expression. - Path that can be matched against a
Program. - Token that captures matched text in a glob expression.
- Program that can be matched against paths and directory trees.
- Text that has been matched by a
Programand its captures.
Enums
Traits
- Error associated with a
Spanwithin a glob expression. - A representation of a glob expression.
- A compiled glob expression that can be inspected and matched against paths.
Functions
- Constructs a combinator that matches if any of its input
Patterns match. - Escapes text as a literal glob expression.
- Returns
trueif the given character is a contextual meta-character. - Returns
trueif the given character is a meta-character.
Type Aliases
- Location and length of a token within a glob expression.