#include <ndn-cxx/util/regex/regex-component-matcher.hpp>
|  | 
| void | compile () override | 
|  | Compile the regular expression to generate the more matchers when necessary.  More... 
 | 
|  | 
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.
 
 
◆ compile()
  
  | 
        
          | void ndn::RegexComponentMatcher::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::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