regex enabled whitelist and blacklist