Skip to content

ValueMatch

Definition

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

Where a match is in a text, with nothing allocated: the position and the length, in the units of the text.

public readonly struct ValueMatch : IEquatable<ValueMatch>

Implements

IEquatable<ValueMatch>

Properties

Property Type Description
Index int Gets the position of the match, in the units of the text.
Length int Gets the length of the match, in the units of the text.

Methods

Method Description
Equals
GetHashCode()

Operators

Operator Description
operator ==(ValueMatch, ValueMatch) Whether two values are the same.
operator !=(ValueMatch, ValueMatch) Whether two values differ.

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