mrdocs::GlobPattern::match

Matches the given string against the glob pattern.

Synopsis

bool
match(
    std::string_view str,
    char delimiter) const;

Return Value

true if the string matches the pattern, false otherwise.

Parameters

Name

Description

str

The string to match against the pattern.

delimiter

The character that * does not match.

Created with MrDocs