projects
/
cc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057153a
)
Matching entire number in shorten
author
Olav Bakke Svendsen
<mail@olavbs.no>
Fri, 27 Oct 2023 06:34:53 +0000
(08:34 +0200)
committer
Olav Bakke Svendsen
<mail@olavbs.no>
Fri, 27 Oct 2023 06:34:53 +0000
(08:34 +0200)
cobble-loader.lua
patch
|
blob
|
history
diff --git
a/cobble-loader.lua
b/cobble-loader.lua
index 75e37dae5acae7949a96ee9497e5f6eb5d4e2385..6dd2b57d92a0c768df3d7e4212eff37850eb92a1 100644
(file)
--- 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 = {}