Allow re patterns in whitelisted_modules and excluded_modules