1 instantiation of ValueSplitEnumerator
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
171
return new
ValueSplitEnumerator
(this, input, count, startat, RightToLeft);
38 references to ValueSplitEnumerator
System.Text.RegularExpressions (38)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (38)
14
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
25
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
26
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
32
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.</returns>
35
public static
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern) =>
39
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
50
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
51
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
58
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.</returns>
62
public static
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options) =>
66
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
77
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
78
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
86
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.</returns>
90
public static
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options, TimeSpan matchTimeout) =>
94
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
105
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
106
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
111
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the matches.</returns>
112
public
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input) =>
116
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
127
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
128
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
134
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the matches.</returns>
135
public
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input, int count) =>
139
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueSplitEnumerator
"/> to iterate over the splits around matches.
150
/// Each match won't actually happen until <see cref="
ValueSplitEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueSplitEnumerator
.MoveNext"/> call.
151
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueSplitEnumerator
.MoveNext"/> may affect the match results;
158
/// <returns>A <see cref="
ValueSplitEnumerator
"/> to iterate over the matches.</returns>
159
public
ValueSplitEnumerator
EnumerateSplits(ReadOnlySpan<char> input, int count, int startat)
189
/// Creates an instance of the <see cref="
ValueSplitEnumerator
"/> for the passed in <paramref name="regex"/> which iterates over <paramref name="input"/>.
207
public readonly
ValueSplitEnumerator
GetEnumerator() => this;