jregex
Interface MatchResult
- All Known Implementing Classes:
- Matcher
- public interface MatchResult
MATCH
public static final int MATCH
PREFIX
public static final int PREFIX
SUFFIX
public static final int SUFFIX
TARGET
public static final int TARGET
pattern
public Pattern pattern()
groupCount
public int groupCount()
isCaptured
public boolean isCaptured()
isCaptured
public boolean isCaptured(int groupId)
isCaptured
public boolean isCaptured(java.lang.String groupName)
group
public java.lang.String group(int n)
getGroup
public boolean getGroup(int n,
java.lang.StringBuffer sb)
getGroup
public boolean getGroup(int n,
TextBuffer tb)
group
public java.lang.String group(java.lang.String name)
getGroup
public boolean getGroup(java.lang.String name,
java.lang.StringBuffer sb)
getGroup
public boolean getGroup(java.lang.String name,
TextBuffer tb)
prefix
public java.lang.String prefix()
suffix
public java.lang.String suffix()
target
public java.lang.String target()
targetStart
public int targetStart()
targetEnd
public int targetEnd()
targetChars
public char[] targetChars()
start
public int start()
end
public int end()
length
public int length()
start
public int start(int n)
end
public int end(int n)
length
public int length(int n)
charAt
public char charAt(int i)
charAt
public char charAt(int i,
int groupNo)