aboutsummaryrefslogtreecommitdiff
path: root/src/tracking/path_matcher.h
blob: 64337c00aca93d5fa3b8861c9f9fc2ca50971a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef CHANGE_SRC_TRACKING_PATH_MATCHER_H_
#define CHANGE_SRC_TRACKING_PATH_MATCHER_H_

#include <regex>
#include <vector>

namespace tracking {

class PathMatcher {
	public:
		PathMatcher() = default;
		PathMatcher(const std::string&);

		bool isMatching(const std::string&) const;

	private:
		std::vector<std::regex> patterns_;
};

}

#endif  // CHANGE_SRC_TRACKING_PATH_MATCHER_H_