24 #ifndef NDN_CXX_UTIL_REGEX_REGEX_COMPONENT_SET_MATCHER_HPP
25 #define NDN_CXX_UTIL_REGEX_REGEX_COMPONENT_SET_MATCHER_HPP
33 class RegexComponentMatcher;
44 shared_ptr<RegexBackrefManager> backrefManager);
47 match(
const Name& name,
size_t offset,
size_t len = 1)
override;
54 compileSingleComponent();
57 compileMultipleComponents(
size_t start,
size_t lastIndex);
60 extractComponent(
size_t index)
const;
63 std::vector<shared_ptr<RegexComponentMatcher>> m_components;
64 bool m_isInclusion =
true;
Represents an absolute name.
bool match(const Name &name, size_t offset, size_t len=1) override
RegexComponentSetMatcher(const std::string &expr, shared_ptr< RegexBackrefManager > backrefManager)
Create a RegexComponentSetMatcher matcher from expr.