16 references to Match
aspire (1)
src\Shared\ContainerRuntimeDetector.cs (1)
407var match = Regex.Match(output, @"[Vv]ersion\s*:?\s*(\d+\.\d+(?:\.\d+)?)", RegexOptions.IgnoreCase);
Aspire.Cli.EndToEnd.Tests (1)
Helpers\CliE2ETestHelpers.cs (1)
801var 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)
450var match = Regex.Match(text, @"```plaintext\s*(.*?)\s*```", RegexOptions.Singleline);
Npm\AspireJsLauncherTests.cs (1)
187var supportedRidsMatch = Regex.Match(scriptContent, @"\$supportedRids\s*=\s*@\((?<rids>[^)]*)\)", RegexOptions.Singleline);
Aspire.Hosting (1)
src\Shared\ContainerRuntimeDetector.cs (1)
407var match = Regex.Match(output, @"[Vv]ersion\s*:?\s*(\d+\.\d+(?:\.\d+)?)", RegexOptions.IgnoreCase);
Aspire.Hosting.Azure.Tests (1)
AzureSqlPrincipalReconciliationTests.cs (1)
204var match = Regex.Match(
Infrastructure.Tests (5)
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (1)
530var match = Regex.Match(
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (1)
676var match = System.Text.RegularExpressions.Regex.Match(
WorkflowScripts\PrDocsCheckWorkflowTests.cs (3)
221var match = Regex.Match( 231var run = Regex.Match( 235var env = Regex.Match(
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
104Match match = Regex.Match(text, $@"<{tagName}>(?<value>.*?)</{tagName}>", Options);
NuGet.Configuration (1)
PackageSource\PackageSourceProvider.cs (1)
488var 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