Lines Matching refs:Regex
24 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() function in Regex
26 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() function in Regex
39 Regex::Regex(StringRef regex, unsigned Flags) in Regex() function in Regex
40 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex()
42 Regex::Regex(Regex &®ex) { in Regex() function in Regex
49 Regex::~Regex() { in ~Regex()
69 bool Regex::isValid(std::string &Error) const { in isValid()
79 unsigned Regex::getNumMatches() const { in getNumMatches()
83 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches, in match()
137 std::string Regex::sub(StringRef Repl, StringRef String, in sub()
232 bool Regex::isLiteralERE(StringRef Str) { in isLiteralERE()
239 std::string Regex::escape(StringRef String) { in escape()