28 references to Match
Microsoft.AspNetCore.Components.Endpoints.Tests (8)
EndpointHtmlRendererTest.cs (8)
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);
1316var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Singleline);
Microsoft.Build (1)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (3)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.Extensions.AI.Evaluation.Quality (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.NET.Sdk.StaticWebAssets.Tests (7)
ScopedCssIntegrationTests.cs (7)
155var counterScopeMatch = Regex.Match(counterContent, ".*button\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
159var indexScopeMatch = Regex.Match(indexContent, ".*h1\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
187var indexScopeMatch = Regex.Match(indexContent, ".*p\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
191var aboutScopeMatch = Regex.Match(aboutContent, ".*h2\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
195var contactScopeMatch = Regex.Match(contactContent, ".*a\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
224var indexScopeMatch = Regex.Match(indexContent, ".*p\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
228var counterScopeMatch = Regex.Match(counterContent, ".*div\\[(.*)\\].*", RegexOptions.Multiline | RegexOptions.IgnoreCase);
Microsoft.NET.TestFramework (3)
MSBuild (1)