java.lang.Object | ||
↳ | com.google.gwt.core.client.JavaScriptObject | |
↳ | com.google.gwt.regexp.shared.MatchResult |
GWT wrapper for Javascript RegExp matching results.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the matched string or the given matched group.
| |||||||||||
Returns the number of groups, including the matched string hence greater or
equal than 1.
| |||||||||||
Returns the zero-based index of the match in the input string.
| |||||||||||
Returns the original input string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.core.client.JavaScriptObject
| |||||||||||
From class
java.lang.Object
|
Retrieves the matched string or the given matched group.
index | the index of the group to return, 0 to return the whole
matched string; must be between 0 and getGroupCount() - 1
included |
---|
index
is zero, else the given matched
group. If the given group was optional and did not match, the
behavior is browser-dependent: this method will return null
or an empty string.
Returns the number of groups, including the matched string hence greater or equal than 1.
Returns the zero-based index of the match in the input string.