java.util.regex
Class Pattern.Begin
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.Begin
- Enclosing class:
- Pattern
- static final class Pattern.Begin
- extends Pattern.Node
Node to anchor at the beginning of input. This object implements the
match for a \A sequence, and the caret anchor will use this if not in
multiline mode.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
next
Pattern.Node next
Pattern.Begin
Pattern.Begin()
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
dup
Pattern.Node dup(boolean not)
study
boolean study(Pattern.TreeInfo info)
- This method is good for all zero length assertions.