Added an exclude purge pattern

Initial changes for being able to specify a purge exclude pattern