add globbing for ignore, exclude, external

Fix #176