public class Matcher extends Object
Modifier and Type | Method and Description |
---|---|
int |
end() |
int |
end(int group) |
boolean |
find() |
String |
group() |
String |
group(int group) |
int |
groupCount() |
boolean |
hasAnchoringBounds() |
boolean |
hasTransparentBounds() |
boolean |
hitEnd() |
boolean |
lookingAt() |
boolean |
matches() |
Pattern |
pattern() |
static String |
quoteReplacement(String abc) |
Matcher |
region(int start,
int end) |
int |
regionEnd() |
int |
regionStart() |
String |
replaceAll(String replacement) |
String |
replaceFirst(String replacement) |
boolean |
requireEnd() |
Matcher |
reset() |
Matcher |
reset(CharSequence inp) |
int |
start() |
int |
start(int group) |
String |
toString() |
Matcher |
useAnchoringBounds(boolean b) |
Matcher |
useTransparentBounds(boolean b) |
public Pattern pattern()
public Matcher reset()
public String group()
public String group(int group)
public int groupCount()
public Matcher reset(CharSequence inp)
public boolean matches()
public boolean find()
public boolean lookingAt()
public int start()
public int start(int group)
public int end()
public int end(int group)
public boolean hasTransparentBounds()
public Matcher useTransparentBounds(boolean b)
public boolean hasAnchoringBounds()
public Matcher useAnchoringBounds(boolean b)
public int regionStart()
public int regionEnd()
public Matcher region(int start, int end)
public boolean hitEnd()
public boolean requireEnd()