Skip to content

Match.NextMatch Method

Definition

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

NextMatch()

The next match in the input after this one, as ECMA-262 continues a global search: from the end of this match, or one character on when this match is empty. Empty when there is none.

public Match NextMatch()

Returns

Match

The next match.

Exceptions

Exception Description
RegexMatchTimeoutException The match reached its limit.

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