15 references to Matches
Aspire.Cli.Tests (1)
Utils\TerminalLinkAssert.cs (1)
20var matches = Regex.Matches(output, segmentPattern, RegexOptions.Singleline);
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
431foreach (Match import in Regex.Matches(content, @"^import\s+(?:static\s+)?([\w.]+)\.(\w+);", RegexOptions.Multiline))
Infrastructure.Tests (8)
TestTriggerMap\TestTriggerMapTests.cs (2)
367.Matches(targetVocabulary, @"^\| `(job:[a-z0-9-]+)` \|", System.Text.RegularExpressions.RegexOptions.Multiline) 374.Matches(mapVocabulary, @"^#\s+(job:[a-z0-9-]+)\s+", System.Text.RegularExpressions.RegexOptions.Multiline)
WorkflowScripts\PrDocsCheckWorkflowTests.cs (6)
27Regex.Matches( 42Assert.Single(Regex.Matches(customSteps, "actions/checkout@", RegexOptions.CultureInvariant).Cast<Match>()); 70Regex.Matches( 89Regex.Matches(safeOutputs, "uses: actions/checkout@", RegexOptions.CultureInvariant).Count); 259var referencedVariables = Regex.Matches( 267var boundVariables = Regex.Matches(
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\Regex.Match.cs (5)
77/// <see cref="Matches(string, string, RegexOptions)"/> method instead. 337/// calling the <see cref="Matches(string, string, RegexOptions)"/> method. 630/// The <see cref="Matches(string, string, RegexOptions)"/> method is similar to the 639/// The <see cref="Matches(string, string, RegexOptions)"/> method uses lazy evaluation to populate the 646/// Because of its lazy evaluation, calling the <see cref="Matches(string, string, RegexOptions)"/>