We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c95547c + 8af5476 commit 447980dCopy full SHA for 447980d
lib/dtutils/string.lua
@@ -1011,7 +1011,7 @@ local function treat(var_string)
1011
log.msg(log.info, "ret_val is " .. ret_val)
1012
1013
elseif string.match(var_string, "SEQUENCE%[") then
1014
- local width, start = string.match(var_string, "(%d+),(%d)")
+ local width, start = string.match(var_string, "(%d+),(%d+)")
1015
local seq_val = tonumber(substitutes[var])
1016
local pat = "%0" .. width .. "d"
1017
substitutes[var_string] = string.format(pat, start + (seq_val - 1))
0 commit comments