24 #ifndef NDN_CXX_UTIL_REGEX_REGEX_COMPONENT_MATCHER_HPP
25 #define NDN_CXX_UTIL_REGEX_REGEX_COMPONENT_MATCHER_HPP
33 class RegexPseudoMatcher;
45 shared_ptr<RegexBackrefManager> backrefManager,
46 bool isExactMatch =
true);
49 match(
const Name& name,
size_t offset,
size_t len = 1)
override;
57 std::regex m_componentRegex;
58 std::vector<shared_ptr<RegexPseudoMatcher>> m_pseudoMatchers;
Represents an absolute name.
bool match(const Name &name, size_t offset, size_t len=1) override
RegexComponentMatcher(const std::string &expr, shared_ptr< RegexBackrefManager > backrefManager, bool isExactMatch=true)
Create a RegexComponent matcher from expr.