101 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);
cdac-build-tool (1)
ContractDescriptorSourceFileEmitter.cs (1)
85var matches = FindTemplatePlaceholderRegex.Matches(template);
GenerateDocumentationAndConfigFiles (8)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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)
Microsoft.Build (5)
Logging\TerminalLogger\TerminalLogger.cs (4)
304var tlArgMatches = TerminalLoggerArgPattern.Matches(arg); 311var verbosityArgMatches = VerbosityArgPattern.Matches(arg); 318var tlpMatches = TerminalLoggerParametersArgPattern.Matches(arg); 325var clpMatches = ConsoleLoggerParametersArgPattern.Matches(arg);
Utilities\ProjectWriter.cs (1)
133MatchCollection itemVectorTransforms = ItemVectorTransformRawRegex.Matches(text);
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.cs (2)
221var sectionMatches = GetSectionMatcherRegex().Matches(line); 235var propMatches = GetPropertyMatcherRegex().Matches(line);
Microsoft.CodeAnalysis.Analyzers (8)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
Microsoft.CodeAnalysis.ResxSourceGenerator (10)
AbstractResxGenerator.cs (2)
873var match = _namedParameterMatcher.Matches(value); 878match = _numberParameterMatcher.Matches(value);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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.Workspaces (9)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
429var matches = regex.Matches(renameString);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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.Installers (2)
src\CreateWixBuildWixpack.cs (2)
232foreach (Match match in regex.Matches(content)) 643foreach (Match match in regex.Matches(content))
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);
Microsoft.NET.Build.Containers (1)
AuthHandshakeMessageHandler.cs (1)
137foreach (Match match in BearerParameterSplitter().Matches(bearerHeaderArgs))
PlatformDocAnalyzer (1)
PlatformDocAnalyzer.cs (1)
135foreach (Match match in s_memberRegex.Matches(xml))
Roslyn.Diagnostics.Analyzers (8)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\roslyn\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