Use a regex for metrics_blacklist and whitelist