public class NdnRegexTopMatcher extends NdnRegexMatcherBase
NdnRegexMatcherBase.Error, NdnRegexMatcherBase.NdnRegexExprTypebackrefManager_, expr_, matchers_, matchResult_, type_| Constructor and Description |
|---|
NdnRegexTopMatcher(String expr) |
NdnRegexTopMatcher(String expr,
String expand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compile()
Compile the regular expression to generate more matchers when necessary.
|
Name |
expand() |
Name |
expand(String expandStr) |
static NdnRegexTopMatcher |
fromName(Name name) |
static NdnRegexTopMatcher |
fromName(Name name,
boolean hasAnchor) |
boolean |
match(Name name) |
boolean |
match(Name name,
int offset,
int len) |
getExpr, getMatchResultpublic NdnRegexTopMatcher(String expr, String expand) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic NdnRegexTopMatcher(String expr) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic final boolean match(Name name) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic boolean match(Name name, int offset, int len) throws NdnRegexMatcherBase.Error
match in class NdnRegexMatcherBaseNdnRegexMatcherBase.Errorpublic Name expand(String expandStr) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic Name expand() throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic static NdnRegexTopMatcher fromName(Name name, boolean hasAnchor) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorpublic static NdnRegexTopMatcher fromName(Name name) throws NdnRegexMatcherBase.Error
NdnRegexMatcherBase.Errorprotected void compile()
throws NdnRegexMatcherBase.Error
NdnRegexMatcherBasecompile in class NdnRegexMatcherBaseNdnRegexMatcherBase.ErrorCopyright © 2019. All rights reserved.