add ability to exclude regular expression matches