#include <ndn-cxx/util/regex/regex-component-matcher.hpp>
Definition at line 35 of file regex-component-matcher.hpp.
◆ 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.
◆ RegexComponentMatcher()
ndn::RegexComponentMatcher::RegexComponentMatcher |
( |
const std::string & |
expr, |
|
|
shared_ptr< RegexBackrefManager > |
backrefManager, |
|
|
bool |
isExactMatch = true |
|
) |
| |
Create a RegexComponent matcher from expr.
- Parameters
-
expr | The standard regular expression to match a component |
backrefManager | The back reference manager |
isExactMatch | The flag to provide exact match |
Definition at line 29 of file regex-component-matcher.cpp.
◆ getExpr()
const std::string& ndn::RegexMatcher::getExpr |
( |
| ) |
const |
|
inlineinherited |
◆ getMatchResult()
const std::vector<name::Component>& ndn::RegexMatcher::getMatchResult |
( |
| ) |
const |
|
inlineinherited |
◆ match()
bool ndn::RegexComponentMatcher::match |
( |
const Name & |
name, |
|
|
size_t |
offset, |
|
|
size_t |
len = 1 |
|
) |
| |
|
overridevirtual |
◆ 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