16 references to Match
aspire (1)
Utils\EnvironmentChecker\WslEnvironmentCheck.cs (1)
97var kernelVersionMatch = Regex.Match(version, @"Linux\s+version\s+(\d+)\.", RegexOptions.IgnoreCase);
Aspire.Cli.Tests (1)
Mcp\ListConsoleLogsToolTests.cs (1)
205var match = Regex.Match(text, @"```plaintext\s*(.*?)\s*```", RegexOptions.Singleline);
Microsoft.AspNetCore.Components.Endpoints.Tests (10)
EndpointHtmlRendererTest.cs (10)
175var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 293var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 343var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 436var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 498var firstMatch = Regex.Match(firstComponent, PrerenderedComponentPattern, RegexOptions.Multiline); 637var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 689var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 798var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 838var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 1453var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Singleline);
Microsoft.Build.Engine.UnitTests (3)
NetTaskHost_E2E_Tests.cs (3)
123var msBuildDllPathMatch = System.Text.RegularExpressions.Regex.Match( 138var arg1Match = System.Text.RegularExpressions.Regex.Match( 153var cmdLineMatch = System.Text.RegularExpressions.Regex.Match(
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
104Match match = Regex.Match(text, $@"<{tagName}>(?<value>.*?)</{tagName}>", Options);