24 #ifndef NDN_UTIL_REGEX_REGEX_BACKREF_MATCHER_HPP 25 #define NDN_UTIL_REGEX_REGEX_BACKREF_MATCHER_HPP 27 #include "../../common.hpp" 36 RegexBackrefMatcher(
const std::string& expr, shared_ptr<RegexBackrefManager> backrefManager);
62 shared_ptr<RegexBackrefManager> backrefManager)
74 size_t lastIndex =
m_expr.size() - 1;
89 #endif // NDN_UTIL_REGEX_REGEX_BACKREF_MATCHER_HPP Copyright (c) 2013-2017 Regents of the University of California.
virtual ~RegexBackrefMatcher()
RegexBackrefMatcher(const std::string &expr, shared_ptr< RegexBackrefManager > backrefManager)
shared_ptr< RegexBackrefManager > m_backrefManager
std::vector< shared_ptr< RegexMatcher > > m_matchers
virtual void compile()
Compile the regular expression to generate the more matchers when necessary.