20 references to Matches
Aspire.Dashboard.Tests (1)
Markdown\MarkdownProcessorTests.cs (1)
51
var count = Regex.
Matches
(html, Regex.Escape("code-block")).Count;
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticInfo.cs (1)
134
var matches = Regex.
Matches
(message, @"\{\d+[}:]");
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIAssistantChatClientIntegrationTests.cs (1)
125
var matches = Regex.
Matches
(listing, @"thread_\w+");
Microsoft.Maui.Controls (1)
WebView\WebView.cs (1)
302
var singleQuotes = Regex.
Matches
(js, @"(\\*?)'");
QuarantineTools.Tests (8)
ActiveIssueTests.cs (6)
66
var count = Regex.
Matches
(updated, "ActiveIssue").Count;
123
var count = Regex.
Matches
(norm, "using Xunit;").Count;
160
var count = Regex.
Matches
(norm, "using Xunit;").Count;
165
var activeIssueCount = Regex.
Matches
(norm, @"\[ActiveIssue\(").Count;
217
var countWithSuffix = Regex.
Matches
(updatedWithSuffix, @"ActiveIssue").Count;
218
var countWithoutSuffix = Regex.
Matches
(updatedWithoutSuffix, @"ActiveIssue").Count;
QuarantineScriptTests.cs (2)
67
var count = Regex.
Matches
(updated, "QuarantinedTest").Count;
193
var count = Regex.
Matches
(norm, "using Aspire.TestUtilities;").Count;
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Regex.Match.cs (5)
28
/// <see cref="
Matches
(string, string)"/> method instead.
304
/// calling the <see cref="
Matches
(string, string)"/> method.
529
/// The <see cref="
Matches
(string, string)"/> method is similar to the
538
/// The <see cref="
Matches
(string, string)"/> method uses lazy evaluation to populate the returned
545
/// Because of its lazy evaluation, calling the <see cref="
Matches
(string, string)"/> method does not
System\Text\RegularExpressions\Regex.Replace.cs (3)
344
/// The method is equivalent to calling the <see cref="Regex.
Matches
(string, string)"/> method and passing
390
/// The method is equivalent to calling the <see cref="Regex.
Matches
(string, string)"/> method and passing
445
/// The method is equivalent to calling the <see cref="Regex.
Matches
(string, string)"/> method and passing