RegexPattern.cc
Go to the documentation of this file.
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
regex_t regex
a "compiled pattern buffer" filled by regcomp(3) for regexec(3)
Definition: RegexPattern.h:55
RegexPattern()=delete
SBuf ToSBuf(Args &&... args)
slowly stream-prints all arguments into a freshly allocated SBuf
Definition: Stream.h:63