public void DoesntFindMatchIfMatchIsInsideStringLiteral() { string source = "Some \"!\" String"; var matcher = new ExcludeStringMatcher(source); Assert.Null(matcher.FindNextIndex('!')); }