[latex3-commits] [git/LaTeX3-latex3-l3build] main: Correct argument order for string.match (f15d7f0)
Marcel Fabian Krüger
tex at 2krueger.de
Fri Aug 27 17:53:13 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/f15d7f0625b44060384a087377290fe809443ed1
>---------------------------------------------------------------
commit f15d7f0625b44060384a087377290fe809443ed1
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Aug 27 17:53:13 2021 +0200
Correct argument order for string.match
>---------------------------------------------------------------
f15d7f0625b44060384a087377290fe809443ed1
l3build-ctan.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l3build-ctan.lua b/l3build-ctan.lua
index a20dff4..96d5a90 100644
--- a/l3build-ctan.lua
+++ b/l3build-ctan.lua
@@ -81,7 +81,7 @@ function ctan()
end
return function(name)
for n, patt in ipairs(patterns) do
- if patt:match(name) then return true end
+ if name:match(patt) then return true end
end
return false
end
More information about the latex3-commits
mailing list.