fix % chars in excludes

This commit is contained in:
Axel Kittenberger 2011-03-26 08:45:02 +00:00
parent f17e82ce5c
commit 4d07452ef9
1 changed files with 1 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ local Excludes = (function()
--
local function toLuaPattern(p)
local o = p
p = string.gsub(p, "%%", "%%") -- TODO check
p = string.gsub(p, "%%", "%%%%")
p = string.gsub(p, "%^", "%%^")
p = string.gsub(p, "%$", "%%$")
p = string.gsub(p, "%(", "%%(")