`utils.some` will not execute the function if `rule.regex` does not exist or is an empty array.