WIP: sprintf #21

Draft
kistaro wants to merge 11 commits from kistaro/chameleonic:sprintf into main
Showing only changes of commit e028209adf - Show all commits

View File

@ -62,7 +62,7 @@ function fmt(f, ...)
elseif m == "!" then
out ..= tostring(p)
else
out ..= "(?!:"..m..":"..tostring(p)..")"
assert(false, tostr(m).."is not a formatting directive")
end
end
out ..=sub(s,2)