This documentation is archived and is not being maintained.
Match Properties
Visual Studio 2010
The Match type exposes the following members.
| Name | Description | |
|---|---|---|
|
Captures | Gets a collection of all the captures matched by the capturing group, in innermost-leftmost-first order (or innermost-rightmost-first order if the regular expression is modified with the RegexOptions::RightToLeft option). The collection may have zero or more items. (Inherited from Group.) |
|
Empty | Gets the empty group. All failed matches return this empty match. |
|
Groups | Gets a collection of groups matched by the regular expression. |
|
Index | The position in the original string where the first character of the captured substring was found. (Inherited from Capture.) |
|
Length | The length of the captured substring. (Inherited from Capture.) |
|
Success | Gets a value indicating whether the match is successful. (Inherited from Group.) |
|
Value | Gets the captured substring from the input string. (Inherited from Capture.) |
Show: