summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENSE2
-rw-r--r--acf2/persistence/backends/augeas.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index da09525..b277f23 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2012-2013 Kaarle Ritvanen
+Copyright (c) 2012-2014 Kaarle Ritvanen
All rights reserved.
diff --git a/acf2/persistence/backends/augeas.lua b/acf2/persistence/backends/augeas.lua
index f592477..d086ea4 100644
--- a/acf2/persistence/backends/augeas.lua
+++ b/acf2/persistence/backends/augeas.lua
@@ -1,5 +1,5 @@
--[[
-Copyright (c) 2012-2013 Kaarle Ritvanen
+Copyright (c) 2012-2014 Kaarle Ritvanen
See LICENSE file for license details
--]]
@@ -73,7 +73,7 @@ local function conv_path(path)
assert(type(comp) == 'number')
res = append_pred(res, comp)
else
- assert(type(comp) == 'string' and comp:match('^[%w _-%.]+$'))
+ assert(type(comp) == 'string' and comp:match('^[%w %_-%.]+$'))
res = append_key_pred(res, mode, comp)
table.insert(keys, key(mode))
end