summaryrefslogtreecommitdiffstats
path: root/extensions/common/matcher/regex_set_matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/matcher/regex_set_matcher.h')
-rw-r--r--extensions/common/matcher/regex_set_matcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/common/matcher/regex_set_matcher.h b/extensions/common/matcher/regex_set_matcher.h
index 8d9de1c..906ab9c 100644
--- a/extensions/common/matcher/regex_set_matcher.h
+++ b/extensions/common/matcher/regex_set_matcher.h
@@ -43,6 +43,8 @@ class RegexSetMatcher {
bool Match(const std::string& text,
std::set<StringPattern::ID>* matches) const;
+ bool IsEmpty() const;
+
private:
typedef int RE2ID;
typedef std::map<StringPattern::ID, const StringPattern*> RegexMap;