aboutsummaryrefslogtreecommitdiff
path: root/src/tracking/path_matcher.h
blob: 966567efb18d7b4c6190da58d04ef63dff91b808 (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 is_matching(const std::string&) const;

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

}

#endif  // CHANGE_SRC_TRACKING_PATH_MATCHER_H_