7 references to Match
aspire (1)
Utils\EnvironmentChecker\WslEnvironmentCheck.cs (1)
97
var kernelVersionMatch = Regex.
Match
(version, @"Linux\s+version\s+(\d+)\.", RegexOptions.IgnoreCase);
Aspire.Cli.Tests (1)
Mcp\ListConsoleLogsToolTests.cs (1)
205
var match = Regex.
Match
(text, @"```plaintext\s*(.*?)\s*```", RegexOptions.Singleline);
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)
347
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
575
/// <see cref="
Match
(string, string, RegexOptions)"/> method, except that it returns information about all