diff --git a/sos/cleaner/mappings/hostname_map.py b/sos/cleaner/mappings/hostname_map.py index dbb97d983c..a92ea8e8a0 100644 --- a/sos/cleaner/mappings/hostname_map.py +++ b/sos/cleaner/mappings/hostname_map.py @@ -89,7 +89,7 @@ def get_regex_result(self, item): """ if '.' in item: item = item.replace('.', '(\\.|_)') - return re.compile(item, re.I) + return super(SoSHostnameMap, self).get_regex_result(item) def set_initial_counts(self): """Set the initial counter for host and domain obfuscation numbers