def filter_excluded_tags(self, all_tags):
filtered_tags = copy.deepcopy(all_tags)<EOL>if self.options.exclude_tags:<EOL><INDENT>filtered_tags = self.apply_exclude_tags(filtered_tags)<EOL><DEDENT>if self.options.exclude_tags_regex:<EOL><INDENT>filtered_tags = self.apply_exclude_tags_regex(filtered_tags)<EOL><DEDENT>return filtered_tags<EOL>
Filter tags according exclude_tags and exclude_tags_regex option.

:param list(dict) all_tags: Pre-filtered tags.
:rtype: list(dict)
:return: Filtered tags.