+ def find_deleteable_files (self):
+ """Find all files which are deletable by using the regular expression from the
+ configuration file"""
+
+ DELETE_REGEX = rsutil.common.config_get_value ('regular expressions', 'delete_regex')
+ dregex = re.compile (DELETE_REGEX, re.IGNORECASE)
+
+ return [f for f in self.all_files if dregex.match (f) and \
+ f not in self.prot_matched_files]
+