Lines Matching full:regex
25 // No explicit regex selection; detect based on builtin hints.
33 // Prefer C regex libraries when compiling w/o exceptions so that we can
42 #include <regex>
46 #include <regex.h>
61 class Regex {
63 Regex() : init_(false) {} in Regex() function
65 ~Regex();
80 std::regex re_;
90 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init()
96 re_ = std::regex(spec, std::regex_constants::extended); in Init()
109 inline Regex::~Regex() {} in ~Regex()
111 inline bool Regex::Match(const std::string& str) { in Match()
119 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init()
142 inline Regex::~Regex() { in ~Regex()
148 inline bool Regex::Match(const std::string& str) { in Match()