#include <ndn-cxx/util/regex/regex-top-matcher.hpp>
Definition at line 34 of file regex-top-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.
◆ RegexTopMatcher()
| ndn::RegexTopMatcher::RegexTopMatcher |
( |
const std::string & |
expr, |
|
|
const std::string & |
expand = "" |
|
) |
| |
|
explicit |
◆ expand()
| Name ndn::RegexTopMatcher::expand |
( |
const std::string & |
expand = "" | ) |
|
|
virtual |
◆ fromName()
| shared_ptr< RegexTopMatcher > ndn::RegexTopMatcher::fromName |
( |
const Name & |
name, |
|
|
bool |
hasAnchor = false |
|
) |
| |
|
static |
◆ 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 68 of file regex-matcher.hpp.
◆ match() [1/2]
| bool ndn::RegexTopMatcher::match |
( |
const Name & |
name | ) |
|
◆ match() [2/2]
| bool ndn::RegexTopMatcher::match |
( |
const Name & |
name, |
|
|
size_t |
offset, |
|
|
size_t |
len |
|
) |
| |
|
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