diff --git a/stand/lua/config.lua b/stand/lua/config.lua index 86f5ef6174a..26f65ecc17b 100644 --- a/stand/lua/config.lua +++ b/stand/lua/config.lua @@ -65,7 +65,7 @@ local MSG_FAILSYN_BADVAR = "Malformed variable expression at position '%d'" -- env_var entries in the pattern table. This is perhaps a good target for a -- little refactoring. local MODULEEXPR = '([%w%d-_.]+)' -local QVALEXPR = '"(.*)"' +local QVALEXPR = '"([^"]*)"' local QVALREPL = QVALEXPR:gsub('%%', '%%%%') local WORDEXPR = "([-%w%d][-%w%d_.]*)" local WORDREPL = WORDEXPR:gsub('%%', '%%%%')