Wildcard matching in Python

I have a class called Pattern, and within it two methods, equates and setwildcard. Equates returns the index in which a substring first appears in a string, and setwildcard sets a wild card character …

Matching strings with wildcard

I would like to match strings with a wildcard (*), where the wildcard means “any”. For example: *X = string must end with X X* = string must start with X *X* = string must contain X Also, some …