Home
last modified time | relevance | path

Searched refs:regex_ (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/kyua/utils/text/
H A Dregex.cpp219 impl(const std::string& regex_, const std::size_t ngroups, in impl()
224 const int error = ::regcomp(&_preg, regex_.c_str(), flags); in impl()
227 % regex_); in impl()
264 text::regex::compile(const std::string& regex_, const std::size_t ngroups, in compile() argument
267 return regex(std::shared_ptr< impl >(new impl(regex_, ngroups, in compile()
298 text::match_regex(const std::string& regex_, const std::string& str, in match_regex() argument
301 return regex::compile(regex_, ngroups, ignore_case).match(str); in match_regex()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-matchers.h786 : regex_(regex), full_match_(full_match) {}
813 return full_match_ ? RE::FullMatch(s2, *regex_)
814 : RE::PartialMatch(s2, *regex_);
819 UniversalPrinter<std::string>::Print(regex_->pattern(), os);
825 UniversalPrinter<std::string>::Print(regex_->pattern(), os);
829 const std::shared_ptr<const RE> regex_;
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h982 RE(absl::string_view regex) : regex_(regex) {} // NOLINT in RE()
987 const std::string& pattern() const { return regex_.pattern(); } in pattern()
990 return RE2::FullMatch(str, re.regex_); in FullMatch()
993 return RE2::PartialMatch(str, re.regex_); in PartialMatch()
997 RE2 regex_;
/freebsd/contrib/diff/
H A DChangeLog310 (AC_CONFIG_LINKS): regex.hin renamed from regex_.h.
324 regex_.h renamed from regex.hin.
382 * lib/regex_.h: Renamed from lib/regex.hin.