com.stevenrbrandt.ubiq2.v4.pattwo
Class Matcher
java.lang.Object
com.stevenrbrandt.ubiq2.v4.pattwo.Matcher
public class Matcher
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Matcher
public Matcher()
pattern
public Pattern pattern()
groupCount
public int groupCount()
end
public int end()
start
public int start()
start
public int start(int id)
end
public int end(int id)
group
public java.lang.String group()
group
public java.lang.String group(int id)
find
public boolean find()
reset
public Matcher reset()
find
public boolean find(int start)
matches
public boolean matches()
appendReplacement
public boolean appendReplacement(java.lang.StringBuffer sb,
java.lang.String r)
appendTail
public boolean appendTail(java.lang.StringBuffer sb)
replaceFirst
public java.lang.String replaceFirst(java.lang.String replacement)
replaceAll
public java.lang.String replaceAll(java.lang.String replacement)
lookingAt
public boolean lookingAt()
hitEnd
public boolean hitEnd()
longerChanges
public boolean longerChanges()
- Detects if a longer match might be able to change the match result.