Boost C++ Libraries

PrevUpHomeNext

Function glob_match

boost::taar::handler::cache_rules::glob_match — True if path matches the glob pattern.

Synopsis

// In header: <boost/taar/handler/htdocs.hpp>


bool glob_match(std::string_view pattern, std::string_view path);

Description

* matches any run of characters except /, ** any run including /, and ? one character other than /; everything else matches itself (case-sensitive). A pattern containing no / is matched against the last segment of path only.


PrevUpHomeNext