goelhardik/ignore

Issue with pattern containing multiple dots

Closed this issue · 1 comments

Didn't have time to investigate more but this test is failing:

        [Fact]
        public void SimpleIgnore_Dotfiles_WithStar3() => GitBasedTest(
            @"""
*.mm.*
""",
            new[] { "file.mm", "commonFile.txt" });

"commonFile.txt" is ignored by the lib.

Looks like the . are not properly escaped =>.*.mm.[^/]*(/.*)?$