From 82575829961bf6d85d2ef183d282bf7b52aa113d Mon Sep 17 00:00:00 2001 From: desertkaz Date: Thu, 5 Oct 2023 17:21:37 -0700 Subject: [PATCH] use include like upstream instead of match --- inventory-manager.lic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-manager.lic b/inventory-manager.lic index 11c2047f8c..b299de26e8 100644 --- a/inventory-manager.lic +++ b/inventory-manager.lic @@ -359,7 +359,7 @@ class InventoryManager total_found = 0 DRC.message "Checking #{k}:" v.each { |data| - if data.downcase.match?(item) + if data.downcase.include?(item) total_found += 1 DRC.message "Match #{total_found}): #{data}" end