Modifier and Type | Field and Description |
---|---|
Map<String,String> |
bindings
Contains all bound substrings which were
matched by
Regular.Binding regexps |
int |
matchedLength
The size of the input string prefix that matched
the regular expression.
|
boolean |
reachedEOF
Whether the end-of-input has been matched,
in which case
matchedLength should be
the length of the whole input, and no more
can be matched (even Regular.EPSILON ,
except if non-strict matching is used). |
Constructor and Description |
---|
MatchResult(Map<String,String> bindings,
int matchedLength,
boolean reachedEOF) |
public final Map<String,String> bindings
Regular.Binding
regexpspublic final int matchedLength
public final boolean reachedEOF
matchedLength
should be
the length of the whole input, and no more
can be matched (even Regular.EPSILON
,
except if non-strict matching is used).