LIVM/faxm/freeform.lua
2022-04-09 15:18:01 +07:00

11 lines
No EOL
249 B
Lua

return {
source = function(source)
return source:gsub("\n", "")
end,
any_line = function(line)
return line:trim():gsub("%s+", " "):gsub("%s+=%s+", "=")
end,
line = function(line)
return line:gsub(",", " "):gsub("%s+", " "):split" "
end
}