mrdocs::PathGlobPattern

A glob pattern matcher for paths

Synopsis

Declared in <mrdocs/Support/Glob.hpp>

class PathGlobPattern;

Member Functions

Name

Description

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

Name

Description

create

Constructs a PathGlobPattern with the given pattern.

Description

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

Created with MrDocs