From 272ba00ac85aae367b4474c2e8f2a12c74a0340a Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Fri, 27 Oct 2023 08:34:53 +0200 Subject: [PATCH] Matching entire number in shorten --- cobble-loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobble-loader.lua b/cobble-loader.lua index 75e37da..6dd2b57 100644 --- a/cobble-loader.lua +++ b/cobble-loader.lua @@ -19,7 +19,7 @@ local args = {...} local debug = function(...) if print_debug or args[1] == "debug" then print(...) end end -local shorten = function(address) return string.match(address, "%d$") end +local shorten = function(address) return string.match(address, "%d*$") end local outputs = {} local inputs = {} -- 2.30.2