We use fnmatch in a lot of places. Almost all of these places aren't the right place for fnmatch. On top of that, regex gives us a lot more power in terms of matching.
So, let's replace fnmatch wherever possible!
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3663342-replace-fnmatch-etc-with-real-regex?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github).
We use
fnmatch
in a lot of places. Almost all of these places aren't the right place forfnmatch
. On top of that, regex gives us a lot more power in terms of matching.So, let's replace fnmatch wherever possible!