public void IsMatchTest5() { string expected = @"regexp:\d+"; string actual = "123"; Assert.IsTrue(TextPattern.IsMatch(expected, actual)); }
public void IsMatchTest3() { string expected = "regexp:foo"; string actual = "foo"; Assert.IsTrue(TextPattern.IsMatch(expected, actual)); }
public void IsMatchTest4() { string expected = "regexp:foo"; string actual = "bar"; Assert.IsFalse(TextPattern.IsMatch(expected, actual)); }
public void RegExpi2() { string expected = @"regexpi:foo"; string actual = "xxxFOOyyy"; Assert.IsTrue(TextPattern.IsMatch(expected, actual)); }