39 references to Matches
Aspire.Cli.Tests (2)
Agents\AgentTelemetryHookTests.cs (1)
140return Regex.Matches(body, "'([^']+)'").Select(match => match.Groups[1].Value).Order().ToArray();
Npm\AspireJsLauncherTests.cs (1)
190return Regex.Matches(supportedRidsMatch.Groups["rids"].Value, @"'(?<rid>[^']+)'")
Aspire.Dashboard.Tests (1)
Markdown\MarkdownProcessorTests.cs (1)
43var count = Regex.Matches(html, Regex.Escape("code-block")).Count;
Aspire.Hosting.Azure.Tests (2)
AzureContainerAppsTests.cs (1)
445var aliases = Regex.Matches(bicep, @"name: '(ConnectionStrings__[^']+)'")
AzureResourcePreparerTests.cs (1)
651var roleAssignmentCount = System.Text.RegularExpressions.Regex.Matches(manifest.BicepText, "Microsoft.Authorization/roleAssignments@").Count;
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
125Assert.Empty(Regex.Matches(generated, @"\bDouble\b(?!\.)"));
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
124var aliases = Regex.Matches(compose, @"(?m)^\s+(ConnectionStrings__[^:]+):")
Aspire.Hosting.Radius.Tests (3)
Publishing\ConfigureRadiusInfrastructureTests.cs (2)
682var environmentScopes = Regex.Matches(bicep, @"environment: (\w+)\.id") 687var applicationScopes = Regex.Matches(bicep, @"application: (\w+)\.id")
Publishing\ConnectionStringPropagationTests.cs (1)
114var aliases = Regex.Matches(
Aspire.Hosting.Rust.Tests (1)
RustReadmeTests.cs (1)
19var links = Regex.Matches(additionalDocumentation, @"https://[^\s)]+")
Infrastructure.Tests (9)
MicrosoftTestingPlatformTests.cs (1)
65var options = Regex.Matches(arguments, @"--[\w-]+").Select(match => match.Value).Distinct().ToArray();
Pipelines\ReleasePublishNugetPipelineTests.cs (2)
468var semverRegexUses = System.Text.RegularExpressions.Regex.Matches( 596var secretReferenceMatches = System.Text.RegularExpressions.Regex.Matches(job, @"\b(VSCE_PAT|VscePublishToken)\b");
TestTriggerMap\SelectTestsAcceptanceTests.cs (1)
1296return System.Text.RegularExpressions.Regex.Matches(slnx, "Path=\"([^\"]+\\.csproj)\"")
TestTriggerMap\SelectTestsCliTests.cs (1)
526.Matches(solution, "Path=\"(tests/[^\"]+\\.Tests\\.csproj)\"")
TestTriggerMap\TestTriggerMapTests.cs (4)
299return System.Text.RegularExpressions.Regex.Matches(slnx, "Path=\"([^\"]+\\.csproj)\"") 1299.Matches(testsYml, @"fromJSON\(steps\.select_tests\.outputs\.selection\)\.(run_[a-z0-9_]+)") 1305.Matches(testsYml, @"needs\.setup_for_tests\.outputs\.(run_[a-z0-9_]+)") 1791.Matches(ifNode.ToString(), @"needs\.setup_for_tests\.outputs\.(run_[a-z0-9_]+)")
Microsoft.Maui.Controls (1)
WebView\WebView.cs (1)
302 var singleQuotes = Regex.Matches(js, @"(\\*?)'");
QuarantineTools.Tests (8)
ActiveIssueTests.cs (6)
66var count = Regex.Matches(updated, "ActiveIssue").Count; 123var count = Regex.Matches(norm, "using Xunit;").Count; 160var count = Regex.Matches(norm, "using Xunit;").Count; 165var activeIssueCount = Regex.Matches(norm, @"\[ActiveIssue\(").Count; 217var countWithSuffix = Regex.Matches(updatedWithSuffix, @"ActiveIssue").Count; 218var countWithoutSuffix = Regex.Matches(updatedWithoutSuffix, @"ActiveIssue").Count;
QuarantineScriptTests.cs (2)
67var count = Regex.Matches(updated, "QuarantinedTest").Count; 193var count = Regex.Matches(norm, "using Aspire.TestUtilities;").Count;
SelectTests (2)
Program.cs (2)
305System.Text.RegularExpressions.Regex.Matches(slnx, "Path=\"([^\"]+\\.csproj)\"")) 465return System.Text.RegularExpressions.Regex.Matches(slnx, "Path=\"([^\"]+\\.csproj)\"")
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. 585/// The <see cref="Matches(string, string)"/> method is similar to the 594/// The <see cref="Matches(string, string)"/> method uses lazy evaluation to populate the returned 601/// 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