This documentation is archived and is not being maintained.

Match Properties

The Match type exposes the following members.

Public property 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.)
Public property Static member Empty Gets the empty group. All failed matches return this empty match.
Public property Groups Gets a collection of groups matched by the regular expression.
Public property Index The position in the original string where the first character of the captured substring was found. (Inherited from Capture.)
Public property Length The length of the captured substring. (Inherited from Capture.)
Public property Success Gets a value indicating whether the match is successful. (Inherited from Group.)
Public property Value Gets the captured substring from the input string. (Inherited from Capture.)