mrdocs::PathGlobPattern::matchPatternPrefix
Matches the start of a given string against the glob pattern.
Synopsis
Declared in <mrdocs/Support/Glob.hpp>
bool
matchPatternPrefix(std::string_view prefix) const;
Description
This function determines if the given string with the specified prefix can potentially match the glob pattern.
If the string matches the start of the pattern without failure, even if there are characters left in the string or the pattern, the function returns true.
Parameters
| Name | Description |
|---|---|
prefix |
The string to match against the pattern. |
Created with MrDocs