OK. It's already implemented. See "WildCard Files" and "ReleasFolder"samples.
Top-level file discovery
Deep file discovery
Top-level file discovery
var project = new Project("MyProduct", new Dir(@"%ProgramFiles%\MyCompany\MyProduct", new DirFiles(@"Release\Bin\*.*"), new Dir("GlobalResources", new DirFiles(@"Release\Bin\GlobalResources\*.*")), new Dir("Images", new DirFiles(@"Release\Bin\Images\*.*")), new ExeFileShortcut("Uninstall MyProduct", "[System64Folder]msiexec.exe", "/x [ProductCode]")));
var project = new Project("MyProduct", new Dir(@"%ProgramFiles%\My Company\My Product", new Dir("Documentation", new Files(@"\\BUILDSERVER\My Product\Release\Documentation\*.*")), new Files(@"..\Release Folder\Release\*.*", f => !f.EndsWith(".obj") && !f.EndsWith(".pdb")),