3 #ifndef __ARC_REGEX_H__ 4 #define __ARC_REGEX_H__ 45 bool match(
const std::string& str)
const;
54 bool match(
const std::string& str, std::list<std::string>& unmatched, std::list<std::string>& matched)
const;
67 bool match(
const std::string& str, std::vector<std::string>& matched)
const;
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
bool match(const std::string &str) const
Returns true if this regex matches whole string provided.
bool isOk()
Returns true if the pattern of this regex is ok.
std::string getPattern() const
Returns pattern.
bool hasPattern(std::string str)
Returns true if this regex has the pattern provided.
RegularExpression()
Default constructor.
~RegularExpression()
Destructor.
RegularExpression & operator=(const RegularExpression ®ex)
Assignment operator.
A regular expression class.
Definition: ArcRegex.h:17