java.util.regex
Class Pattern.BackRef
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.BackRef
- Enclosing class:
- Pattern
- static class Pattern.BackRef
- extends Pattern.Node
Refers to a group in the regular expression. Attempts to match
whatever the group referred to last matched.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupIndex
int groupIndex
next
Pattern.Node next
Pattern.BackRef
Pattern.BackRef(int groupCount)
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)