Just thought I'd open an issue for what's mentioned in the readme. This should behave similar to `.gitignore`. Perhaps have a look at [gobwas/glob](https://github.com/gobwas/glob). It should allow matching directories and file names.