Group.Captures Property
Definition
Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: Group.cs
Captures()
Gets the captures of the group: one, when the group took part, and none otherwise. ECMA-262 keeps only the last iteration's capture of a group under a quantifier, so there is never more than one.
public CaptureCollection Captures { get; }
Returns
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