A configurable globbing and matching algorithm for go