RegexPattern.h
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &os, const RegexPattern &rp)
Definition: RegexPattern.h:59
Definition: RegexPattern.h:24
SBuf pattern
a regular expression in the text form, suitable for regcomp(3)
Definition: RegexPattern.h:49
void print(std::ostream &os, const RegexPattern *previous=nullptr) const
Definition: RegexPattern.cc:42
RegexPattern(RegexPattern &&)=delete
bool isDot() const
whether this is an "any single character" regex (".")
Definition: RegexPattern.h:38
regex_t regex
a "compiled pattern buffer" filled by regcomp(3) for regexec(3)
Definition: RegexPattern.h:55
MEMPROXY_CLASS(RegexPattern)
RegexPattern()=delete