Home | History | Annotate | Download | only in src

Lines Matching full:regex

20 // Prefer C regex libraries when compiling w/o exceptions so that we can
28 #include <regex>
32 #include <regex.h>
44 class Regex {
46 Regex() : init_(false) {}
48 ~Regex();
63 std::regex re_;
73 inline bool Regex::Init(const std::string& spec, std::string* error) {
79 re_ = std::regex(spec, std::regex_constants::extended);
91 inline Regex::~Regex() {}
93 inline bool Regex::Match(const std::string& str) {
101 inline bool Regex::Init(const std::string& spec, std::string* error) {
124 inline Regex::~Regex() {
130 inline bool Regex::Match(const std::string& str) {