public class NdnRegexComponentSetMatcher extends NdnRegexMatcherBase
NdnRegexMatcherBase.Error, NdnRegexMatcherBase.NdnRegexExprTypebackrefManager_, expr_, matchers_, matchResult_, type_| Constructor and Description |
|---|
NdnRegexComponentSetMatcher(String expr,
NdnRegexBackrefManager backrefManager)
Create an NdnRegexComponentSetMatcher matcher from expr.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
compile()
Compile the regular expression to generate more matchers when necessary.
|
boolean |
match(Name name,
int offset,
int len) |
getExpr, getMatchResultpublic NdnRegexComponentSetMatcher(String expr, NdnRegexBackrefManager backrefManager) throws NdnRegexMatcherBase.Error
expr - The standard regular expression to match a component.backrefManager - A back-reference manager.NdnRegexMatcherBase.Errorpublic boolean match(Name name, int offset, int len) throws NdnRegexMatcherBase.Error
match in class NdnRegexMatcherBaseNdnRegexMatcherBase.Errorprotected void compile()
throws NdnRegexMatcherBase.Error
compile in class NdnRegexMatcherBaseNdnRegexMatcherBase.ErrorCopyright © 2019. All rights reserved.