This question is related to this stack overflow question:
But I need to only support the wildcards and not the ? or the [seq] functionality that you get with fnmatch. Since there is no way to remove that functionality from fnmatch, is there another way of doing this?
I need a user defined string like this: site.*.com/sub/
to match this: site.hostname.com/sub/
Without all the added functionality of ? and []