23 #ifndef NDN_NDN_REGEX_REPEAT_MATCHER_HPP
24 #define NDN_NDN_REGEX_REPEAT_MATCHER_HPP
26 #include "ndn-regex-matcher-base.hpp"
33 (
const std::string& expr,
34 ptr_lib::shared_ptr<NdnRegexBackrefManager> backrefManager,
36 : NdnRegexMatcherBase(expr, NDN_REGEX_EXPR_REPEAT_PATTERN, backrefManager),
37 indicator_(indicator), repeatMin_(0), repeatMax_(0)
46 match(
const Name& name,
size_t offset,
size_t len);
60 recursiveMatch(
size_t repeat,
const Name& name,
size_t offset,
size_t len);
Definition: ndn-regex-repeat-matcher.hpp:30
A Name holds an array of Name::Component and represents an NDN name.
Definition: name.hpp:40
virtual void compile()
Compile the regular expression to generate more matchers when necessary.