Logo
Reference manual - version ored_version
Wildcard Class Reference

Public Member Functions

 Wildcard (const std::string &pattern, const bool usePrefixes=true, const bool aggressivePrefixes=false)
bool hasWildcard () const
std::size_t wildcardPos () const
bool isPrefix () const
bool matches (const std::string &s) const
const std::string & pattern () const
const std::string & regex () const
const std::string & prefix () const
bool usePrefixes () const
bool aggressivePrefixes () const

Constructor & Destructor Documentation

◆ Wildcard()

Wildcard ( const std::string & pattern,
const bool usePrefixes = true,
const bool aggressivePrefixes = false )
explicit

all characters in s keep their original meaning except * which is a placeholder for zero or more characters not equal to newline