167 references to Matches
aspire (3)
Mcp\Docs\DocsIndexService.cs (2)
633.Matches(source.Content) 640.Matches(source.Content)
Projects\FallbackProjectParser.cs (1)
308var matches = PackageDirectiveRegex().Matches(fileContent);
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
134var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
Aspire.Templates.Tests (2)
LocalhostTldHostnameTests.cs (1)
85var matches = HostnamePattern().Matches(urls);
tests\Shared\TemplatesTesting\AspireProject.cs (1)
134var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
GenerateDocumentationAndConfigFiles (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
illink (1)
Metrics (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Metrics.Legacy (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.Build (5)
Logging\TerminalLogger\TerminalLogger.cs (4)
298var tlArgMatches = TerminalLoggerArgPattern.Matches(arg); 305var verbosityArgMatches = VerbosityArgPattern.Matches(arg); 312var tlpMatches = TerminalLoggerParametersArgPattern.Matches(arg); 319var clpMatches = ConsoleLoggerParametersArgPattern.Matches(arg);
Utilities\ProjectWriter.cs (1)
133MatchCollection itemVectorTransforms = ItemVectorTransformRawRegex.Matches(text);
Microsoft.Build.Engine.UnitTests (4)
Evaluation\ExpressionShredder_Tests.cs (4)
600MatchCollection matches = s_itemVectorPattern.Matches(expression); 1256foreach (Match itemVector in s_itemVectorPattern.Matches(expression)) 1391embeddedMetadataReferences = s_itemMetadataPattern.Matches(batchableObjectParameter); 1404embeddedMetadataReferences = s_nonTransformItemMetadataPattern.Matches(batchableObjectParameter);
Microsoft.Build.Tasks.UnitTests (1)
XslTransformation_Tests.cs (1)
380MatchCollection mc = _surroundMatch.Matches(fileContents);
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
279regex.Matches(log).Count.ShouldBe(1, $"{log} doesn't contain the log matching the pattern: {pattern}");
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.cs (2)
221var sectionMatches = GetSectionMatcherRegex().Matches(line); 235var propMatches = GetPropertyMatcherRegex().Matches(line);
Microsoft.CodeAnalysis.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\SourceMarkers.cs (3)
54foreach (var match in s_tags.Matches(markedSource).ToEnumerable()) 94var matches = s_trackingStatementPattern.Matches(src); 118var matches = ExceptionRegionPattern.Matches(markedSource);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.PublicApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Tooltip\DocCommentHelpers.cs (1)
212var matches = regex.Matches(summaryContent);
Microsoft.CodeAnalysis.ResxSourceGenerator (10)
AbstractResxGenerator.cs (2)
873var match = _namedParameterMatcher.Matches(value); 878match = _numberParameterMatcher.Matches(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.Test.Utilities (1)
MarkedSource\SourceWithMarkedNodes.cs (1)
54foreach (var match in s_markerPattern.Matches(markedSource).ToEnumerable())
Microsoft.CodeAnalysis.Workspaces (9)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
429var matches = regex.Matches(renameString);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.DotNet.Arcade.Sdk (2)
src\GenerateResxSource.cs (2)
498var match = _namedParameterMatcher.Matches(value); 503match = _numberParameterMatcher.Matches(value);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\AzureConnectionStringBuildTask.cs (1)
41MatchCollection matches = storageConnectionStringRegex.Matches(ConnectionString);
Microsoft.DotNet.Build.Tasks.Installers (2)
src\CreateWixBuildWixpack.cs (2)
232foreach (Match match in regex.Matches(content)) 643foreach (Match match in regex.Matches(content))
Microsoft.DotNet.SignCheckLibrary (1)
Verification\PkgVerifier.cs (1)
127IEnumerable<Match> matches = certificateChainRegex.Matches(signingVerificationOutput).ToList();
Microsoft.DotNet.XliffTasks (1)
StringExtensions.cs (1)
46foreach (Match placeholder in s_placeholderRegex.Matches(text))
Microsoft.Maui.Controls (1)
ShadowTypeConverter.cs (1)
79 var matches = regex.Matches(strValue);
Microsoft.ML.InternalCodeAnalyzer (1)
NameFixProvider.cs (1)
123foreach (Match match in _sections.Matches(name))
Microsoft.ML.TestFramework (2)
BaseTestBaseline.cs (2)
576MatchCollection firstCollection = _matchNumbers.Matches(firstString); 577MatchCollection secondCollection = _matchNumbers.Matches(secondString);
Roslyn.Diagnostics.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\Match.cs (2)
17/// objects is returned by the <see cref="Regex.Matches(string)"/> method. 20/// If the <see cref="Regex.Matches(string)"/> method fails to match a regular expression pattern in
System\Text\RegularExpressions\MatchCollection.cs (2)
13/// constructor. The <see cref="Regex.Matches(string)" /> method returns a 32/// with all matches resulting from a particular call to the <see cref="Regex.Matches(string)" />
System\Text\RegularExpressions\Regex.Match.cs (8)
194/// subsequent manipulation, call the <see cref="Match(string)"/> or <see cref="Matches(string)"/> method. 410/// matches in a single method call by calling <see cref="Matches(string)"/>. 552RegexCache.GetOrAdd(pattern).Matches(input); 597RegexCache.GetOrAdd(pattern, options, s_defaultMatchTimeout).Matches(input); 647RegexCache.GetOrAdd(pattern, options, matchTimeout).Matches(input); 660/// The <see cref="Matches(string)"/> method is similar to the <see cref="Match(string)"/> method, 665/// The <see cref="Matches(string)"/> method uses lazy evaluation to populate the returned 672/// Because of its lazy evaluation, calling the <see cref="Matches(string)"/> method does not throw a
System\Text\RegularExpressions\Regex.Replace.cs (2)
492/// The method is equivalent to calling the <see cref="Regex.Matches(string)"/> method and passing each 537/// The method is equivalent to calling the <see cref="Regex.Matches(string)"/> method and passing the
Test.Utilities (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Text.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);