1 type derived from Match
System.Text.RegularExpressions (1)
2 instantiations of Match
System.Text.RegularExpressions (2)
385 references to Match
aspire (6)
Aspire.Dashboard (4)
Aspire.Dashboard.Tests (2)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (4)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Python (2)
Aspire.Hosting.SqlServer (1)
Aspire.Microsoft.Data.SqlClient (2)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
Aspire.Templates.Tests (3)
BuildBoss (1)
dotnet-dev-certs (3)
dotnet-svcutil-lib (12)
GenerateDocumentationAndConfigFiles (6)
IIS.FunctionalTests (2)
IISExpress.FunctionalTests (2)
illink (1)
installer.tasks (1)
InteropTests (1)
Metrics (6)
Metrics.Legacy (6)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (23)
EndpointHtmlRendererTest.cs (23)
85var match = Regex.Match(content, ComponentPattern);
175var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
219var match = Regex.Match(content, ComponentPattern);
257var match = Regex.Match(content, ComponentPattern);
293var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
343var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
402var match = Regex.Match(content, ComponentPattern);
434var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
495var firstMatch = Regex.Match(firstComponent, PrerenderedComponentPattern, RegexOptions.Multiline);
499var secondMatch = Regex.Match(secondComponent, ComponentPattern);
553var match = Regex.Match(content, ComponentPattern);
592var match = Regex.Match(content, ComponentPattern);
631var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
682var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
750var match = Regex.Match(content, ComponentPattern);
789var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
829var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
1334var serverMarkerMatch = Regex.Match(lines[0], PrerenderedComponentPattern);
1335var serverNonPrerenderedMarkerMatch = Regex.Match(lines[1], ComponentPattern);
1337var webAssemblyMarkerMatch = Regex.Match(lines[2], PrerenderedComponentPattern);
1338var webAssemblyNonPrerenderedMarkerMatch = Regex.Match(lines[3], ComponentPattern);
1443var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Singleline);
1776var wasmOptionsMatch = Regex.Match(content, WebAssemblyOptionsPattern);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Grpc.Swagger (2)
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Microsoft.AspNetCore.Rewrite (3)
Microsoft.AspNetCore.Rewrite.Tests (8)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Shared.Tests (3)
Microsoft.AspNetCore.SpaServices.Extensions (4)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (6)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.Workspaces (8)
Microsoft.Data.Analysis (3)
Microsoft.Data.Analysis.Tests (3)
Microsoft.DotNet.Arcade.Sdk (3)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Tasks.Feed (6)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
Microsoft.DotNet.Build.Tasks.Installers (4)
Microsoft.DotNet.Git.IssueManager (2)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.DotNet.SignCheckLibrary (6)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Evaluation.Quality (1)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Maui.Controls.DesignTools (1)
Microsoft.ML.Data (3)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.ResultProcessor (3)
Microsoft.VisualBasic.Core (3)
netstandard (1)
PresentationBuildTasks (1)
Roslyn.Diagnostics.Analyzers (6)
SemanticSearch.BuildTask (1)
System (1)
System.Data.Common (1)
System.Data.Odbc (1)
System.Private.Xml (12)
System.Text.RegularExpressions (74)
System\Text\RegularExpressions\Regex.cs (7)
412internal Match? RunSingleMatch(RegexRunnerMode mode, int prevlen, string input, int beginning, int length, int startat)
444return RegularExpressions.Match.Empty;
499Match match = runner.runmatch!;
545Match? match = ScanInternal(mode, reuseMatchObject, inputString, 0, runner, inputSpan, returnNullIfReuseMatchObject: false);
606private static Match? ScanInternal(RegexRunnerMode mode, bool reuseMatchObject, string? input, int beginning, RegexRunner runner, ReadOnlySpan<char> span, bool returnNullIfReuseMatchObject)
610Match? match = runner.runmatch;
642return RegularExpressions.Match.Empty;
System\Text\RegularExpressions\Regex.Match.cs (6)
120public static Match Match(string input, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern) =>
128public static Match Match(string input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options) =>
131public static Match Match(string input, [StringSyntax(StringSyntaxAttribute.Regex, nameof(options))] string pattern, RegexOptions options, TimeSpan matchTimeout) =>
138public Match Match(string input)
152public Match Match(string input, int startat)
165public Match Match(string input, int beginning, int length)
System\Text\RegularExpressions\Regex.Replace.cs (4)
9public delegate string MatchEvaluator(Match match);
11internal delegate bool MatchCallback<TState>(ref TState state, Match match);
179regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (StructListBuilder<ReadOnlyMemory<char>> segments, MatchEvaluator evaluator, int prevat, string input, int count) state, Match match) =>
198regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (StructListBuilder<ReadOnlyMemory<char>> segments, MatchEvaluator evaluator, int prevat, string input, int count) state, Match match) =>
System\Text\RegularExpressions\Regex.Split.cs (2)
93regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (List<string> results, int prevat, string input, int count) state, Match match) =>
121regex.RunAllMatchesWithCallback(input, startat, ref state, static (ref (List<string> results, int prevat, string input, int count) state, Match match) =>
System\Text\RegularExpressions\RegexReplacement.cs (5)
126public void ReplacementImpl(ref StructListBuilder<ReadOnlyMemory<char>> segments, Match match)
157public void ReplacementImplRTL(ref StructListBuilder<ReadOnlyMemory<char>> segments, Match match)
235regex.RunAllMatchesWithCallback(input, startat, ref state, (ref (string input, string replacement, StructListBuilder<int> segments, ReadOnlyMemory<char> inputMemory, int prevat, int count) state, Match match) =>
302regex.RunAllMatchesWithCallback(input, startat, ref state, (ref (RegexReplacement thisRef, StructListBuilder<ReadOnlyMemory<char>> segments, ReadOnlyMemory<char> inputMemory, int prevat, int count) state, Match match) =>
322regex.RunAllMatchesWithCallback(input, startat, ref state, (ref (RegexReplacement thisRef, StructListBuilder<ReadOnlyMemory<char>> segments, ReadOnlyMemory<char> inputMemory, int prevat, int count) state, Match match) =>
System\Text\RegularExpressions\RegexRunner.cs (8)
100protected internal Match? runmatch;
163protected Match? Scan(Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick) =>
171protected internal Match? Scan(Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout)
203return Match.Empty;
209Match match = InternalScan(regex, textbeg, textend);
231private Match InternalScan(Regex regex, int textbeg, int textend)
268return Match.Empty;
287Match? m = runmatch;
System.Windows.Forms (1)
Templates.Blazor.Tests (4)
Templates.Blazor.WebAssembly.Auth.Tests (3)
Templates.Blazor.WebAssembly.Tests (3)
Templates.Mvc.Tests (3)
Templates.Tests (3)
Test.Utilities (6)
Text.Analyzers (6)
VersioningWebSite (1)
xunit.assert (4)
xunit.console (1)