using Microsoft.Extensions.FileSystemGlobbing;
public static void Main()
Console.WriteLine("Hello World1");
var matcher = new Matcher();
matcher.AddInclude("**");
matcher.AddExclude("aaa/**/ccc");
var match = matcher.Match(new[] { "aaaa/", "aaa/123/ccc", "aaa/user/123/ccc" }).Files.Select(x => x.Path).ToArray();
Console.WriteLine(String.Join(",", match));