I have a regex I stuck in my
.gitignore similar to:
It didn't work so I tested it against RegexLab.NET.
However, fnmatch it doesn't seem to have an equivalent of the capture groups. Is this feasible or do I need to break this into three lines?