21 references to Matches
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (11)
UserJwtsTests.cs (11)
167var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 201var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 219var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 382var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 401var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 421var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 442var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 564var matches = Regex.Matches(_console.GetOutput(), "New JWT saved with ID '(.*?)'"); 657var printMatches = Regex.Matches(_console.GetOutput(), "Signing Key: '(.*?)'"); 662var resetMatches = Regex.Matches(_console.GetOutput(), "New signing key created: '(.*?)'"); 683var printMatches = Regex.Matches(_console.GetOutput(), "Signing Key: '(.*?)'");
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
EndpointHtmlRendererTest.cs (1)
1311var numMarkers = Regex.Matches(content, MarkerPrefix).Count;
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticInfo.cs (1)
134var matches = Regex.Matches(message, @"\{\d+[}:]");
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (1)
2612string[] actual = Regex.Matches(il, @"\.class nested assembly explicit ansi sealed '([^']*?)'").Cast<Match>().Select(m => m.Groups[1].Value).ToArray();
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
468if (Regex.Matches(messageFormat, @"\{\d+(:\d+)?\}") is { Count: > 0 } matches)
Microsoft.DotNet.Open.Api.Tools.Tests (4)
OpenApiAddFileTests.cs (2)
210Assert.Single(Regex.Matches(content, escapedPkgRef)); 212Assert.Single(Regex.Matches(content, escapedApiRef));
OpenApiAddURLTests.cs (2)
416Assert.Single(Regex.Matches(content, escapedPkgRef)); 418Assert.Single(Regex.Matches(content, escapedApiRef));
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIAssistantChatClientIntegrationTests.cs (1)
86var matches = Regex.Matches(listing, @"thread_\w+");
Microsoft.Maui.Controls (1)
WebView\WebView.cs (1)
302 var singleQuotes = Regex.Matches(js, @"(\\*?)'");