13 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)
430foreach (Match import in Regex.Matches(content, @"^import\s+(?:static\s+)?([\w.]+)\.(\w+);", RegexOptions.Multiline))
Infrastructure.Tests (6)
TestTriggerMap\TestTriggerMapTests.cs (2)
316.Matches(targetVocabulary, @"^\| `(job:[a-z0-9-]+)` \|", System.Text.RegularExpressions.RegexOptions.Multiline) 323.Matches(mapVocabulary, @"^#\s+(job:[a-z0-9-]+)\s+", System.Text.RegularExpressions.RegexOptions.Multiline)
WorkflowScripts\PrDocsCheckWorkflowTests.cs (4)
38Assert.Empty(Regex.Matches(customSteps, "actions/checkout@", RegexOptions.CultureInvariant).Cast<Match>()); 73Regex.Matches(safeOutputs, "uses: actions/checkout@", RegexOptions.CultureInvariant).Cast<Match>(), 242var referencedVariables = Regex.Matches( 250var 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)"/>