Fixes #155.
I'm not married to the use of fnmatch over regex or anything else. It seemed like the simplest thing to reach for.
Leaving out the square brackets is probably bit more effective (it would create generator instead of allocating list). (I'll need similar code for matching product versions.)
A micro-optimization! Will adjust.
rebased onto 7ecb002f8c71496e4fa547c8f8a523b466bc7c73
+1 (...I'll need to resolve merge conflict in #160)
Pull-Request has been merged by ralph
Glob (rather than regexp) seems like a fine choice here.
We should now update the new "how to write a policy" doc to mention that these are interpreted as globs, not just plain string matching.
:+1:, will do that.
Fixes #155.
I'm not married to the use of fnmatch over regex or anything else.
It seemed like the simplest thing to reach for.