aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--serialize.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize.lua b/serialize.lua
index 2d7c3a0..436bf18 100644
--- a/serialize.lua
+++ b/serialize.lua
@@ -118,7 +118,7 @@ function read_table(t, file)
-- done with this table
return
end
- ks, vs = string.match(line, "^(.+[^&]):(.+)$")
+ ks, vs = string.match(line, "^(.*[^&]):(.+)$")
if not ks or not vs then
file:close()
error("Unable to parse line: '"..line.."'!")