diff options
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | acf2/persistence/backends/augeas.lua | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |