fix wildcard matching issue

ref issue HenrikJoreteg/wildemitter#4