Home | History | Annotate | Download | only in vintf

Lines Matching full:regex

20 #include <regex.h>
27 // A wrapper class around regex.h. This is used instead of C++ <regex> library because
28 // C++ regex library throws exceptions when an invalid regular expression is compiled.
30 class Regex {
32 Regex() = default;
33 ~Regex();
35 Regex& operator=(const Regex&) = delete;
36 Regex(const Regex&) = delete;
43 * Return nullptr if not a valid regex pattern, else the Regex object.
45 static const Regex* Get(const std::string& pattern);