bliss

KISS in Lua
git clone git://bvnf.space/bliss.git
Log | Files | Refs | README | LICENSE

commit 4364723f176c451da783acd4571ee9400a530345
parent 528c7a957d54f6687e522ec5592876e16063c273
Author: phoebos <ben@bvnf.space>
Date:   Mon, 31 Jul 2023 13:09:01 +0100

utils.split: only split on sep

Diffstat:
Mbliss/utils.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bliss/utils.lua b/bliss/utils.lua @@ -127,7 +127,7 @@ end function split(s, sep) if not s then return {} end local c = {} - for a in string.gmatch(s, "[^%s"..sep.."]+") do + for a in string.gmatch(s, "[^"..sep.."]+") do table.insert(c, a) end return c