7 references to Matches
Microsoft.Data.Analysis.Interactive.Tests (1)
DataFrameInteractiveTests.cs (1)
54Assert.Matches(_buttonHtmlPart, html);
Microsoft.DotNet.XUnitAssert.Tests (5)
StringAssertsTests.cs (5)
308 Assert.Throws<ArgumentNullException>(() => Assert.Matches((Regex?)null!, "Hello, world!")); 309 Assert.Throws<MatchesException>(() => Assert.Matches(new Regex(@"\w+"), null)); 315 Assert.Matches(new Regex(@"\w+"), "Hello"); 321 Assert.Matches(new Regex(@"[a-z]+", RegexOptions.IgnoreCase), "HELLO"); 327 var ex = Record.Exception(() => Assert.Matches(new Regex(@"\d+"), "Hello, world!"));
Microsoft.ML.IntegrationTests (1)
ModelFiles.cs (1)
71Assert.Matches(new Regex(@"(\d+)\.(\d+)\.(\d+)(-[dev|ci|preview\.(\d+)\.(\d+)\.(\d+)]){0,1}"), line);