class LowerBoundedPattern
extends Pattern
-
-
Constructor Summary
Constructors
-
Method Summary
int
Matches character range against the pattern.
Methods inherited from class org.jparsec.pattern.Pattern
atLeast, atMost, ifelse, many, many, many1, next, not, optional, or, peek, repeat, some, some, times, times, toScanner
-
Field Details
-
min
private final int min
-
-
Constructor Details
-
LowerBoundedPattern
LowerBoundedPattern(int min,
Pattern pattern)
-
Method Details
-
match
Description copied from class: Pattern
Matches character range against the pattern. The length of the range is end - begin
.
- Specified by:
match
in class Pattern
- Parameters:
src
- the source string.
begin
- the beginning index in the sequence.
end
- the end index of the source string (exclusive).
NOTE: the range is [begin, end)
.
- Returns:
- the number of characters matched. MISMATCH otherwise.
-