13 references to Match
aspire (1)
Utils\EnvironmentChecker\WslEnvironmentCheck.cs (1)
97var kernelVersionMatch = Regex.Match(version, @"Linux\s+version\s+(\d+)\.", RegexOptions.IgnoreCase);
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); 434var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 495var firstMatch = Regex.Match(firstComponent, PrerenderedComponentPattern, RegexOptions.Multiline); 631var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 682var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 789var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 829var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline); 1443var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Singleline);
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
104Match match = Regex.Match(text, $@"<{tagName}>(?<value>.*?)</{tagName}>", Options);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\Resources\HardcodedValueFileSystem.cs (1)
40.Select(x => Regex.Match(x, pattern, RegexOptions.IgnoreCase))