28 references to MatchEvaluator
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3535
/// Copied from <see cref="Regex.Replace(string,
MatchEvaluator
, int, int)"/> and modified to use a <see cref="SpanBasedStringBuilder"/> rather than repeatedly allocating a <see cref="System.Text.StringBuilder"/>. This
3549
/// Copied from <see cref="Regex.Replace(string,
MatchEvaluator
, int, int)"/> and modified to use a <see cref="SpanBasedStringBuilder"/> rather than repeatedly allocating a <see cref="System.Text.StringBuilder"/>. This
netstandard (1)
netstandard.cs (1)
2051
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.
MatchEvaluator
))]
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1312
private static readonly
MatchEvaluator
s_escapeMatchEvaluator = new MatchEvaluator(EscapeMatch);
System (1)
src\libraries\shims\System\ref\System.cs (1)
906
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.
MatchEvaluator
))]
System.Text.RegularExpressions (23)
System\Text\RegularExpressions\Regex.Replace.cs (23)
10
/// <see cref="Regex.Replace(string,
MatchEvaluator
)"/> method operation.
13
/// match during a <see cref="Regex.Replace(string,
MatchEvaluator
)"/> method operation.</param>
15
/// <see cref="
MatchEvaluator
"/> delegate.</returns>
17
/// You can use a <see cref="
MatchEvaluator
"/> delegate method to perform a custom verification or
19
/// <see cref="Regex.Replace(string,
MatchEvaluator
)"/>. For each matched string, the
20
/// <see cref="Regex.Replace(string,
MatchEvaluator
)"/> method calls the
21
/// <see cref="
MatchEvaluator
"/> delegate method with a <see cref="Match"/> object that represents
23
/// the <see cref="Regex.Replace(string,
MatchEvaluator
)"/> method substitutes for the matched string.
319
/// string returned by a <see cref="
MatchEvaluator
"/> delegate.
354
public static string Replace(string input, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern,
MatchEvaluator
evaluator) =>
359
/// string returned by a <see cref="
MatchEvaluator
"/> delegate. Specified options modify the matching
405
public static string Replace(string input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern,
MatchEvaluator
evaluator, RegexOptions options) =>
410
/// string returned by a <see cref="
MatchEvaluator
"/> delegate. Additional parameters specify options that
465
public static string Replace(string input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern,
MatchEvaluator
evaluator, RegexOptions options, TimeSpan matchTimeout) =>
470
/// string returned by a <see cref="
MatchEvaluator
"/> delegate.
502
public string Replace(string input,
MatchEvaluator
evaluator)
514
/// expression pattern with a string returned by a <see cref="
MatchEvaluator
"/> delegate.
550
public string Replace(string input,
MatchEvaluator
evaluator, int count)
562
/// expression pattern with a string returned by a <see cref="
MatchEvaluator
"/> delegate.
591
public string Replace(string input,
MatchEvaluator
evaluator, int count, int startat)
610
private static string Replace(
MatchEvaluator
evaluator, Regex regex, string input, int count, int startat)
634
regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (StructListBuilder<ReadOnlyMemory<char>> segments,
MatchEvaluator
evaluator, int prevat, string input, int count) state, Match match) =>
653
regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (StructListBuilder<ReadOnlyMemory<char>> segments,
MatchEvaluator
evaluator, int prevat, string input, int count) state, Match match) =>