1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 04:22:26 +01:00

rename wimRegexp since it represents the 'wildignore' pattern

This commit is contained in:
Doug Kearns
2008-09-04 07:32:39 +00:00
parent 8f46fdb88e
commit 032edb9d9a

View File

@@ -240,10 +240,10 @@ liberator.Completion = function () //{{{
if (liberator.options["wildignore"])
{
var wimRegexp = new RegExp("(^" + liberator.options["wildignore"].replace(",", "|", "g") + ")$");
var wigRegexp = new RegExp("(^" + liberator.options["wildignore"].replace(",", "|", "g") + ")$");
files = files.filter(function (f) {
return f.isDirectory() || !wimRegexp.test(f.leafName);
return f.isDirectory() || !wigRegexp.test(f.leafName);
});
}