Skip to content

ValueCapture.Index Property

Definition

Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: ValueMatch.cs

Index()

Gets the position of the capture, in the units of the text, or -1 when the group did not take part.

public int Index { get; }

Returns

int

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