#include <ndn-cxx/util/regex/regex-pattern-list-matcher.hpp>
|
void | compile () override |
| Compile the regular expression to generate the more matchers when necessary. More...
|
|
◆ RegexExprType
Enumerator |
---|
EXPR_TOP | |
EXPR_PATTERN_LIST | |
EXPR_REPEAT_PATTERN | |
EXPR_BACKREF | |
EXPR_COMPONENT_SET | |
EXPR_COMPONENT | |
EXPR_PSEUDO | |
Definition at line 41 of file regex-matcher.hpp.
◆ RegexPatternListMatcher()
ndn::RegexPatternListMatcher::RegexPatternListMatcher |
( |
const std::string & |
expr, |
|
|
shared_ptr< RegexBackrefManager > |
backrefManager |
|
) |
| |
◆ compile()
void ndn::RegexPatternListMatcher::compile |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getExpr()
const std::string& ndn::RegexMatcher::getExpr |
( |
| ) |
const |
|
inlineinherited |
◆ getMatchResult()
const std::vector<name::Component>& ndn::RegexMatcher::getMatchResult |
( |
| ) |
const |
|
inlineinherited |
get the matched name components
- Returns
- the matched name components
Definition at line 65 of file regex-matcher.hpp.
◆ match()
bool ndn::RegexMatcher::match |
( |
const Name & |
name, |
|
|
size_t |
offset, |
|
|
size_t |
len |
|
) |
| |
|
virtualinherited |
◆ m_backrefManager
◆ m_expr
const std::string ndn::RegexMatcher::m_expr |
|
protectedinherited |
◆ m_matchers
std::vector<shared_ptr<RegexMatcher> > ndn::RegexMatcher::m_matchers |
|
protectedinherited |
◆ m_matchResult
◆ m_type