Show / Hide Table of Contents

Property RXMatch.Span


Overload

Gets span of the subject string from RXMatch.Start to RXMatch.End. The same as that of group 0 (RXGroup.Span).

public ReadOnlySpan<char> Span { get; }
Property Value
ReadOnlySpan<char>

Remarks

Unlike RXMatch.Value, does not create new string.