From be4d6852eb3a14e3f5fa32b3d248820b2857e934 Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Mon, 4 Dec 2017 14:59:11 -0800 Subject: [PATCH] Add support for wildcards in mapconfig. --- src/base/project.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/project.lua b/src/base/project.lua index 79dcc0b3..69aba8de 100755 --- a/src/base/project.lua +++ b/src/base/project.lua @@ -516,7 +516,8 @@ local testpattern = function(pattern, pairing, i) local j = 1 while i <= #pairing and j <= #pattern do - if pairing[i] ~= pattern[j] then + local wd = path.wildcards(pattern[j]) + if pairing[i]:match(wd) ~= pairing[i] then return false end i = i + 1