Exclude regex feature

This adds the ability to do both whitelisting and blacklisting.