changed meaning of exclude trail slash

This commit is contained in:
Axel Kittenberger 2010-11-17 18:54:15 +00:00
parent a5a0b04ae0
commit 42c1c4c62d

View File

@ -705,7 +705,7 @@ local Excludes = (function()
-- this was a ** before v
p = string.gsub(p, "%[%^/%]%*%[%^/%]%*", ".*")
p = string.gsub(p, "^/", "^")
p = string.gsub(p, "/$", "/$")
p = string.gsub(p, "/$", ".*/$")
log("Exclude", "toLuaPattern '",o,"' = '",p,'"')
return p
end