Skip to content

Group.Success Property

Definition

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

Success()

Gets a value indicating whether the group took part in the match. ECMA-262 does not tell an empty capture from a group that did not take part by the text alone; this does.

public bool Success { get; }

Returns

bool

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