Skip to content

Capture.Index Property

Definition

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

Index()

Gets the position of the piece in the input, in UTF-16 code units. 0 for a group that 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