19 references to Matches
Aspire.Cli.EndToEnd.Tests (1)
RadiusDeployTests.cs (1)
630var emittedTypes = Regex.Matches(appBicep, @"^resource\s+\S+\s+'(?<type>[^']+)'", RegexOptions.Multiline)
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)
483foreach (Match import in Regex.Matches(content, @"^import\s+(?:static\s+)?([\w.]+)\.(\w+);", RegexOptions.Multiline))
Aspire.Hosting.Radius.Tests (3)
Publishing\RadiusDeployParametersTests.cs (3)
240var declarations = Regex.Matches(bicep, @"^@secure\(\)\r?\n\s*param sharedSecret ", RegexOptions.Multiline); 268var declarations = Regex.Matches(bicep, @"^@secure\(\)\r?\n\s*param radiusenv ", RegexOptions.Multiline); 296var declared = Regex.Matches(bicep, @"^\s*param (?<name>\w+) ", RegexOptions.Multiline)
Infrastructure.Tests (8)
TestTriggerMap\TestTriggerMapTests.cs (2)
495.Matches(targetVocabulary, @"^\| `(job:[a-z0-9-]+)` \|", System.Text.RegularExpressions.RegexOptions.Multiline) 502.Matches(mapVocabulary, @"^#\s+(job:[a-z0-9-]+)\s+", System.Text.RegularExpressions.RegexOptions.Multiline)
WorkflowScripts\PrDocsCheckWorkflowTests.cs (6)
50Regex.Matches( 65Assert.Single(Regex.Matches(customSteps, "actions/checkout@", RegexOptions.CultureInvariant).Cast<Match>()); 93Regex.Matches( 112Regex.Matches(safeOutputs, "uses: actions/checkout@", RegexOptions.CultureInvariant).Count); 376var referencedVariables = Regex.Matches( 384var 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)"/>