1 instantiation of ValueSplitEnumerator
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
169return new ValueSplitEnumerator(this, input, count, startat, RightToLeft);
38 references to ValueSplitEnumerator
System.Text.RegularExpressions (38)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (38)
12/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 23/// 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. 24/// 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; 30/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches.</returns> 33public static ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern) => 37/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 48/// 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. 49/// 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; 56/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches.</returns> 60public static ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options) => 64/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 75/// 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. 76/// 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; 84/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches.</returns> 88public static ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options, TimeSpan matchTimeout) => 92/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 103/// 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. 104/// 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; 109/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the matches.</returns> 110public ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input) => 114/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 125/// 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. 126/// 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; 132/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the matches.</returns> 133public ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input, int count) => 137/// Searches an input span for all occurrences of a regular expression and returns a <see cref="ValueSplitEnumerator"/> to iterate over the splits around matches. 148/// 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. 149/// 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; 156/// <returns>A <see cref="ValueSplitEnumerator"/> to iterate over the matches.</returns> 157public ValueSplitEnumerator EnumerateSplits(ReadOnlySpan<char> input, int count, int startat) 187/// Creates an instance of the <see cref="ValueSplitEnumerator"/> for the passed in <paramref name="regex"/> which iterates over <paramref name="input"/>. 205public readonly ValueSplitEnumerator GetEnumerator() => this;