Allow exclude (!) to work for regexp matches as well

Fixes #13
config: Add test for exclude with regexp matches

This supplements the parent commit. It doesn't cover all the cases, but
it looks like the (actually very simple) transform that the parent
commit does over and over does what it's supposed to.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>