#include <regex-top-matcher.hpp>
|
void | compile () override |
| Compile the regular expression to generate the more matchers when necessary. More...
|
|
Definition at line 34 of file regex-top-matcher.hpp.
Enumerator |
---|
EXPR_TOP |
|
EXPR_PATTERN_LIST |
|
EXPR_REPEAT_PATTERN |
|
EXPR_BACKREF |
|
EXPR_COMPONENT_SET |
|
EXPR_COMPONENT |
|
EXPR_PSEUDO |
|
Definition at line 45 of file regex-matcher.hpp.
ndn::RegexTopMatcher::RegexTopMatcher |
( |
const std::string & |
expr, |
|
|
const std::string & |
expand = "" |
|
) |
| |
|
explicit |
void ndn::RegexTopMatcher::compile |
( |
| ) |
|
|
overrideprotectedvirtual |
Name ndn::RegexTopMatcher::expand |
( |
const std::string & |
expand = "" | ) |
|
|
virtual |
shared_ptr< RegexTopMatcher > ndn::RegexTopMatcher::fromName |
( |
const Name & |
name, |
|
|
bool |
hasAnchor = false |
|
) |
| |
|
static |
const std::string& ndn::RegexMatcher::getExpr |
( |
| ) |
const |
|
inlineinherited |
const std::vector<name::Component>& ndn::RegexMatcher::getMatchResult |
( |
| ) |
const |
|
inlineinherited |
get the matched name components
- Returns
- the matched name components
Definition at line 69 of file regex-matcher.hpp.
bool ndn::RegexTopMatcher::match |
( |
const Name & |
name | ) |
|
bool ndn::RegexTopMatcher::match |
( |
const Name & |
name, |
|
|
size_t |
offset, |
|
|
size_t |
len |
|
) |
| |
|
overridevirtual |
const std::string ndn::RegexMatcher::m_expr |
|
protectedinherited |
std::vector<shared_ptr<RegexMatcher> > ndn::RegexMatcher::m_matchers |
|
protectedinherited |