ValueSplitEnumerator
Definition
Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: Regex.Spans.cs
Enumerates the pieces a UTF-16 text splits into at the matches of a pattern, as positions, allocating nothing (see EnumerateSplits).
public readonly struct ValueSplitEnumerator
Properties
| Property | Type | Description |
|---|---|---|
| Current | ValueMatch |
Gets the current piece. |
Methods
| Method | Description |
|---|---|
| GetEnumerator() | This enumerator, for foreach. |
| MoveNext() | Finds the next piece. |
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