elaird/supy — pull request #108 by betchart (2012-05-28 18:18:47+00:00)
Title: Blre suggestions, round 2

Hi Davide,

I realized that we can probably just add regex functionality to the blacklist we already had, rather than adding a completely new argument for blacklistre.

I also realized that you hadn't been calling re.match, but what looks to me like .match, which doesn't exist, and then I realized that maybe you had been passing re pattern objects rather than strings in blacklistRe. I think it is better to pass strings and call re.match(pattern, plotname), as you see in this set of commits, which also allows us to merge blacklist and blacklistRe into a single object.