Searched refs:regStr (Results 1 – 3 of 3) sorted by relevance
141 bool IsValidRegex(const std::string& regStr) in IsValidRegex() argument143 if (regStr.length() > 32) { // 32 is the length limit of regex in IsValidRegex()149 int status = regcomp(®, regStr.c_str(), flags); in IsValidRegex()
488 bool IsValidRegex(const std::string& regStr) in IsValidRegex() argument491 if (regStr.empty()) { in IsValidRegex()497 int status = regcomp(®, regStr.c_str(), flags); in IsValidRegex()
166 bool IsValidRegex(const std::string& regStr);