ValueCapture
Definition
Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: ValueMatch.cs
What one group captured, with nothing allocated: the position and the length in the units of the text, or that the group did not take part.
public readonly struct ValueCapture : IEquatable<ValueCapture>
Implements
IEquatable<ValueCapture>
Properties
| Property |
Type |
Description |
| Index |
int |
Gets the position of the capture, in the units of the text, or -1 when the group did not take part. |
| Length |
int |
Gets the length of the capture, in the units of the text, or 0 when the group did not take part. |
| Success |
bool |
Gets a value indicating whether the group took part in the match. |
Methods
Operators
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue