wildmatch: fix exponential behavior