RegexCapture Class
Stores information about a regular expression capture from a match operation.
public class RegexCapture
- Inheritance:
- object object
Constructors
RegexCapture(string, int, int, string)
Stores information about a regular expression capture from a match operation.
public RegexCapture(string name, int startOffset, int endOffset, string text = "")
| Parameter | Type | Description |
|---|---|---|
| name | string | The capture's name, which is often a number. |
| startOffset | int | The start offset of the capture. |
| endOffset | int | The end offset of the capture. |
| text | string | The text that was captured. |
Properties
EndOffset
The end offset of the capture.
Name
The capture's name, which is often a number.
StartOffset
The start offset of the capture.
Text
The text that was captured.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()