gnu.regexp
final class RETokenRepeated extends REToken
Constructor Summary | |
---|---|
RETokenRepeated(int subIndex, REToken token, int min, int max) |
Method Summary | |
---|---|
void | dump(StringBuffer os) |
int | getMinimumLength()
The minimum length of a repeated token is the minimum length
of the token multiplied by the minimum number of times it must
match. |
boolean | isStingy() Queries if this token has minimal matching enabled. |
void | makeStingy() Sets the minimal matching mode to true. |
boolean | match(CharIndexed input, REMatch mymatch) |