mrdocs::PathGlobPattern

A glob pattern matcher for paths

Synopsis

Declared in <mrdocs/Support/Filesystem/Glob.hpp>

class PathGlobPattern;

Description

A glob pattern matcher where "*" does not match path separators. The pattern "**" can be used to match any number of path separators.

Member Functions

NameDescription
PathGlobPattern [constructor]Construct an empty PathGlobPattern.
isLiteral Checks if the glob pattern is a literal string.
match Matches the given string against the glob pattern.
matchPatternPrefix Matches the start of a given string against the glob pattern.
pattern Returns the glob pattern.

Static Member Functions

NameDescription
create Constructs a PathGlobPattern with the given pattern.