2 instantiations of ValueMatchEnumerator
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (2)
80
new
ValueMatchEnumerator
(this, input, RightToLeft ? input.Length : 0);
95
new
ValueMatchEnumerator
(this, input, startat);
35 references to ValueMatchEnumerator
System.Private.Xml (1)
System\Xml\XmlConvert.cs (1)
89
Regex.
ValueMatchEnumerator
en = DecodeCharRegex.EnumerateMatches(name.AsSpan(underscorePos));
System.Text.RegularExpressions (34)
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (33)
13
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.
16
/// Each match won't actually happen until <see cref="
ValueMatchEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueMatchEnumerator
.MoveNext"/> call.
17
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueMatchEnumerator
.MoveNext"/> will affect the match results.
23
/// <returns>A <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.</returns>
26
public static
ValueMatchEnumerator
EnumerateMatches(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern) =>
30
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.
33
/// Each match won't actually happen until <see cref="
ValueMatchEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueMatchEnumerator
.MoveNext"/> call.
34
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueMatchEnumerator
.MoveNext"/> will affect the match results.
41
/// <returns>A <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.</returns>
45
public static
ValueMatchEnumerator
EnumerateMatches(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options) =>
49
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.
52
/// Each match won't actually happen until <see cref="
ValueMatchEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueMatchEnumerator
.MoveNext"/> call.
53
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueMatchEnumerator
.MoveNext"/> will affect the match results.
61
/// <returns>A <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.</returns>
65
public static
ValueMatchEnumerator
EnumerateMatches(ReadOnlySpan<char> input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options, TimeSpan matchTimeout) =>
69
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.
72
/// Each match won't actually happen until <see cref="
ValueMatchEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueMatchEnumerator
.MoveNext"/> call.
73
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueMatchEnumerator
.MoveNext"/> will affect the match results.
78
/// <returns>A <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.</returns>
79
public
ValueMatchEnumerator
EnumerateMatches(ReadOnlySpan<char> input) =>
83
/// Searches an input span for all occurrences of a regular expression and returns a <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.
86
/// Each match won't actually happen until <see cref="
ValueMatchEnumerator
.MoveNext"/> is invoked on the enumerator, with one match being performed per <see cref="
ValueMatchEnumerator
.MoveNext"/> call.
87
/// Since the evaluation of the match happens lazily, any changes to the passed in input in between calls to <see cref="
ValueMatchEnumerator
.MoveNext"/> will affect the match results.
93
/// <returns>A <see cref="
ValueMatchEnumerator
"/> to iterate over the matches.</returns>
94
public
ValueMatchEnumerator
EnumerateMatches(ReadOnlySpan<char> input, int startat) =>
101
/// The enumerator has no public constructor. The <see cref="Regex.EnumerateMatches(ReadOnlySpan{char})"/> method returns a <see cref="Regex.
ValueMatchEnumerator
"/>
117
/// Creates an instance of the <see cref="
ValueMatchEnumerator
"/> for the passed in <paramref name="regex"/> which iterates over <paramref name="input"/>.
135
public readonly
ValueMatchEnumerator
GetEnumerator() => this;
System\Text\RegularExpressions\ValueMatch.cs (1)
11
/// <see cref="Regex.
ValueMatchEnumerator
.Current"/> method when iterating over the results from calling <see cref="Regex.EnumerateMatches(ReadOnlySpan{char})"/>.