Methods Summary |
---|
public int | end()Returns the index of the first character following the text that matched
the whole regular expression.
|
public int | end(int group)Returns the index of the first character following the text that matched
a given group.
|
public java.lang.String | group()Returns the text that matched the whole regular expression.
|
public java.lang.String | group(int group)Returns the text that matched a given group of the regular expression.
|
public int | groupCount()Returns the number of groups in the result, which is always equal to
the number of groups in the original regular expression.
|
public int | start()Returns the index of the first character of the text that matched
the whole regular expression.
|
public int | start(int group)Returns the index of the first character of the text that matched a given
group.
|