24 #ifndef NDN_UTIL_REGEX_REGEX_REPEAT_MATCHER_HPP 25 #define NDN_UTIL_REGEX_REGEX_REPEAT_MATCHER_HPP 35 shared_ptr<RegexBackrefManager> backrefManager,
39 match(
const Name& name,
size_t offset,
size_t len)
override;
50 recursiveMatch(
size_t repeat,
const Name& name,
size_t offset,
size_t len);
60 #endif // NDN_UTIL_REGEX_REGEX_REPEAT_MATCHER_HPP
RegexRepeatMatcher(const std::string &expr, shared_ptr< RegexBackrefManager > backrefManager, size_t indicator)
bool match(const Name &name, size_t offset, size_t len) override
Represents an absolute name.
void compile() override
Compile the regular expression to generate the more matchers when necessary.