16 references to Match
aspire (1)
src\Shared\ContainerRuntimeDetector.cs (1)
407
var match = Regex.
Match
(output, @"[Vv]ersion\s*:?\s*(\d+\.\d+(?:\.\d+)?)", RegexOptions.IgnoreCase);
Aspire.Cli.EndToEnd.Tests (1)
Helpers\CliE2ETestHelpers.cs (1)
801
var match = Regex.
Match
(finalUrl, @"aspire-cli-[^/]+?-(?<version>\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?)\.tar\.gz", RegexOptions.IgnoreCase);
Aspire.Cli.Tests (2)
Mcp\ListConsoleLogsToolTests.cs (1)
450
var match = Regex.
Match
(text, @"```plaintext\s*(.*?)\s*```", RegexOptions.Singleline);
Npm\AspireJsLauncherTests.cs (1)
187
var supportedRidsMatch = Regex.
Match
(scriptContent, @"\$supportedRids\s*=\s*@\((?<rids>[^)]*)\)", RegexOptions.Singleline);
Aspire.Hosting (1)
src\Shared\ContainerRuntimeDetector.cs (1)
407
var match = Regex.
Match
(output, @"[Vv]ersion\s*:?\s*(\d+\.\d+(?:\.\d+)?)", RegexOptions.IgnoreCase);
Aspire.Hosting.Azure.Tests (1)
AzureSqlPrincipalReconciliationTests.cs (1)
204
var match = Regex.
Match
(
Infrastructure.Tests (5)
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (1)
530
var match = Regex.
Match
(
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (1)
676
var match = System.Text.RegularExpressions.Regex.
Match
(
WorkflowScripts\PrDocsCheckWorkflowTests.cs (3)
221
var match = Regex.
Match
(
231
var run = Regex.
Match
(
235
var env = Regex.
Match
(
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
104
Match match = Regex.
Match
(text, $@"<{tagName}>(?<value>.*?)</{tagName}>", Options);
NuGet.Configuration (1)
PackageSource\PackageSourceProvider.cs (1)
488
var match = Regex.
Match
(rawCredentials!.Trim(), @"^Username=(?<user>.*?);\s*Password=(?<pass>.*?)(?:;ValidAuthenticationTypes=(?<authTypes>.*?))?$", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Regex.Match.cs (3)
76
/// <see cref="
Match
(string, string, RegexOptions)"/> or
328
/// The static <see cref="
Match
(string, string, RegexOptions)"/> method is equivalent to constructing a
631
/// <see cref="
Match
(string, string, RegexOptions)"/> method, except that it returns information about all