From 1ef787ecd7df09d2bf4ba6268e2b6d88db066b50 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 4 Sep 2017 21:54:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=80=D0=BE=D1=87=D0=BD=D1=8B=D0=B9=20?= =?UTF-8?q?=D0=B1=D0=B0=D0=B3=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications.cfg | 2 +- lib/advancedLua.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications.cfg b/Applications.cfg index d8f109b3..f41ab8ce 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -230,7 +230,7 @@ url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/lib/advancedLua.lua", type="Library", preloadFile=true, - version=1.17, + version=1.18, }, { path="/lib/web.lua", diff --git a/lib/advancedLua.lua b/lib/advancedLua.lua index d8e37983..c56675c4 100755 --- a/lib/advancedLua.lua +++ b/lib/advancedLua.lua @@ -275,7 +275,7 @@ local function doSerialize(array, prettyLook, indentationSymbol, indentationSymb table.insert(text, key) table.insert(text, "]") elseif keyType == "string" then - if key:match("^%a") and key:match("%w+") then + if key:match("^%a") and key:match("^%w+$") then table.insert(text, key) else table.insert(text, "[\"")