#include "components/url_matcher/regex_set_matcher.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "base/substring_set_matcher/substring_set_matcher.h"
#include "third_party/re2/src/re2/filtered_re2.h"
#include "third_party/re2/src/re2/re2.h"
MatcherStringPattern;
namespace url_matcher {
RegexSetMatcher::RegexSetMatcher() = default;
RegexSetMatcher::~RegexSetMatcher() = default;
void RegexSetMatcher::AddPatterns(
const std::vector<const MatcherStringPattern*>& regex_list) { … }
void RegexSetMatcher::ClearPatterns() { … }
bool RegexSetMatcher::Match(const std::string& text,
std::set<MatcherStringPattern::ID>* matches) const { … }
bool RegexSetMatcher::IsEmpty() const { … }
std::vector<RegexSetMatcher::RE2ID> RegexSetMatcher::FindSubstringMatches(
const std::string& text) const { … }
void RegexSetMatcher::RebuildMatcher() { … }
}