summaryrefslogtreecommitdiff
path: root/simpleperf/RegEx.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/RegEx.h')
-rw-r--r--simpleperf/RegEx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/simpleperf/RegEx.h b/simpleperf/RegEx.h
index c1e4f511..6e75afff 100644
--- a/simpleperf/RegEx.h
+++ b/simpleperf/RegEx.h
@@ -20,6 +20,7 @@
#include <optional>
#include <string>
#include <string_view>
+#include <vector>
namespace simpleperf {
@@ -51,4 +52,6 @@ class RegEx {
std::string pattern_;
};
+bool SearchInRegs(std::string_view s, const std::vector<std::unique_ptr<RegEx>>& regs);
+
} // namespace simpleperf