public class AnyMatch extends Matches
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(char[] operand,
int cursorPos)
Matches any number of characters (including none) and
continues to check the rest of the pattern and operand.
|
java.lang.String |
toString() |
protected boolean matches(char[] operand, int cursorPos)
matches
in class Matches
operand
- The operand String coverted to a character array.cursorPos
- From where to make the comparison to this node.AnyMatch.matches(char[], int)
,
SingleMatch.matches(char[], int)
,
MatchEnd.matches(char[], int)