mrdocs::GlobPattern
A glob pattern matcher
Description
-
"*" matches all characters except delimiters.
-
"**" matches all characters
-
"?" matches any single character.
-
"[<chars>]" matches one character in the bracket.
-
"[<char>‐<char>]" matches one character in the bracket range.
-
"[]" or "[!<chars>]" matches one character not in the bracket.
-
"{<glob>,...}" matches one of the globs in the list.
-
"" escapes the next character so it is treated as a literal.
Nested brace expansions "{<glob>,"{<glob>,...}",...}" are not supported.
Member Functions
Name |
Description |
|
Constructors |
|
Destructor |
Assignment operators |
|
Checks if the glob pattern is a literal string. |
|
Matches the given string against the glob pattern. |
|
Matches the start of a given string against the glob pattern. |
|
Returns the glob pattern. |