java.util.regex
Class Pattern.Start
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.Start
- Enclosing class:
- Pattern
- static final class Pattern.Start
- extends Pattern.Node
Used for REs that can start anywhere within the input string.
This basically tries to match repeatedly at each spot in the
input string, moving forward after each try. An anchored search
or a BnM will bypass this node completely.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
minLength
int minLength
next
Pattern.Node next
Pattern.Start
Pattern.Start(Pattern.Node node)
match
boolean match(Matcher matcher,
int i,
CharSequence seq)
- Description copied from class:
Pattern.Node
- This method implements the classic accept node.
- Overrides:
match
in class Pattern.Node
study
boolean study(Pattern.TreeInfo info)
- Description copied from class:
Pattern.Node
- This method is good for all zero length assertions.
- Overrides:
study
in class Pattern.Node
dup
Pattern.Node dup(boolean not)