diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/boot.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/boot.lua b/plugins/boot.lua index 858e1a5b4db..52c56912a0f 100644 --- a/plugins/boot.lua +++ b/plugins/boot.lua @@ -14,9 +14,9 @@ function lfs.env_replace(str) end if pathsep == '\\' then - str = str:gsub("%%(%w+)%%", dorep) + str = str:gsub("%%([%w_]+)%%", dorep) else - str = str:gsub("%$(%w+)", dorep) + str = str:gsub("%$([%w_]+)", dorep) end return str end |