Skip to content

RegexPatternTooLargeException Constructors

Definition

Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll

Overloads

Constructor Description
RegexPatternTooLargeException(string, string, bool) Initializes a new instance of the RegexPatternTooLargeException class.
RegexPatternTooLargeException(string) Initializes a new instance of the RegexPatternTooLargeException class, for a limit met while reading.

RegexPatternTooLargeException(string, string, bool)

Source: RegexPatternTooLargeException.cs

Initializes a new instance of the RegexPatternTooLargeException class.

public RegexPatternTooLargeException(string message, string limit, bool read)

Parameters

Name Type Description
message string The message.
limit string What the pattern is over, with the limit and its value, as a sentence.
read bool Whether the whole pattern was read, and found to be a valid ECMA-262 pattern, before the limit was met.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

RegexPatternTooLargeException(string)

Source: RegexPatternTooLargeException.cs

Initializes a new instance of the RegexPatternTooLargeException class, for a limit met while reading.

public RegexPatternTooLargeException(string limit)

Parameters

Name Type Description
limit string What the pattern is over, with the limit and its value, as a sentence.

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