Fix for patterns with a leading "*"

Patterns with a leading "*" have not been matched, which affected 392
patterns. See issue #7, reported by @mimmi20.