Allowing specification of an exclusion list

Added tests and functionality for being able to provide one or more
regular expressions to exclude against.