Skip to content

MatchCollection

Definition

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

Every match of a pattern in a text, found as they are asked for: a global search as ECMA-262 makes one.

public sealed class MatchCollection : IReadOnlyList<Match>, IEnumerable<Match>, IEnumerable, IReadOnlyCollection<Match>

Inheritance

Object → MatchCollection

Implements

IReadOnlyList<Match>, IEnumerable<Match>, IEnumerable, IReadOnlyCollection<Match>

Properties

Property Type Description
Count int Gets the number of matches, which finds them all.
this[int] Match

Methods

Method Description
GetEnumerator()

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