Use "*" to match anything before or after the wildcard.Use "?" to match a single character.
Example patterns:
There are other implementations of this idea, which are undoubtedly nicer. Nevertheless, it was fun to implement this.