Added regexp filtering for puppetresources