1 type derived from Match
System.Text.RegularExpressions (1)
2 instantiations of Match
System.Text.RegularExpressions (2)
328 references to Match
Aspire.Dashboard (2)
Aspire.Dashboard.Tests (2)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (3)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.SqlServer (1)
Aspire.Microsoft.Data.SqlClient (2)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
Aspire.Templates.Tests (2)
BuildBoss (1)
dotnet-dev-certs (3)
dotnet-svcutil-lib (12)
IIS.FunctionalTests (2)
IISExpress.FunctionalTests (2)
illink (1)
installer.tasks (1)
InteropTests (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (20)
EndpointHtmlRendererTest.cs (20)
61var match = Regex.Match(content, ComponentPattern);
157var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
201var match = Regex.Match(content, ComponentPattern);
239var match = Regex.Match(content, ComponentPattern);
275var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
325var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
384var match = Regex.Match(content, ComponentPattern);
416var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
477var firstMatch = Regex.Match(firstComponent, PrerenderedComponentPattern, RegexOptions.Multiline);
481var secondMatch = Regex.Match(secondComponent, ComponentPattern);
535var match = Regex.Match(content, ComponentPattern);
574var match = Regex.Match(content, ComponentPattern);
613var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
664var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Multiline);
1142var serverMarkerMatch = Regex.Match(lines[0], PrerenderedComponentPattern);
1143var serverNonPrerenderedMarkerMatch = Regex.Match(lines[1], ComponentPattern);
1145var webAssemblyMarkerMatch = Regex.Match(lines[2], PrerenderedComponentPattern);
1146var webAssemblyNonPrerenderedMarkerMatch = Regex.Match(lines[3], ComponentPattern);
1251var match = Regex.Match(content, PrerenderedComponentPattern, RegexOptions.Singleline);
1584var 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.SpaServices.Extensions (4)
Microsoft.Build (16)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.CommandLine.UnitTests (2)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (9)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.Core (9)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.Utilities.Core (3)
Microsoft.CodeAnalysis (2)
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 (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
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 (3)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Git.IssueManager (2)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Ollama.Tests (1)
Microsoft.Maui.Controls.DesignTools (1)
Microsoft.ML.Data (3)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.ResultProcessor (3)
Microsoft.ML.Tokenizers (1)
Microsoft.VisualBasic.Core (3)
MSBuild (1)
netstandard (1)
PresentationBuildTasks (1)
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)
413internal Match? RunSingleMatch(RegexRunnerMode mode, int prevlen, string input, int beginning, int length, int startat)
445return RegularExpressions.Match.Empty;
500Match match = runner.runmatch!;
546Match? match = ScanInternal(mode, reuseMatchObject, inputString, 0, runner, inputSpan, returnNullIfReuseMatchObject: false);
607private static Match? ScanInternal(RegexRunnerMode mode, bool reuseMatchObject, string? input, int beginning, RegexRunner runner, ReadOnlySpan<char> span, bool returnNullIfReuseMatchObject)
611Match? match = runner.runmatch;
643return 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)
TaskUsageLogger (1)
Templates.Blazor.Tests (4)
Templates.Blazor.WebAssembly.Auth.Tests (3)
Templates.Blazor.WebAssembly.Tests (3)
Templates.Mvc.Tests (3)
Templates.Tests (3)
VersioningWebSite (1)
XmlFileLogger (1)
xunit.assert (4)
xunit.console (1)