[latex3-commits] [git/LaTeX3-latex3-l3build] master: pattern is not global (767b9cc)

LAURENS Jérôme jerome.laurens at u-bourgogne.fr
Sun Feb 21 15:25:53 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/767b9ccf7e1db3d13d1c3e38cd267011ef3361ab

>---------------------------------------------------------------

commit 767b9ccf7e1db3d13d1c3e38cd267011ef3361ab
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Sun Feb 21 15:25:53 2021 +0100

    pattern is not global


>---------------------------------------------------------------

767b9ccf7e1db3d13d1c3e38cd267011ef3361ab
 l3build-check.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index c74d3a2..1302df7 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -435,7 +435,7 @@ local function normalize_lua_log(content,luatex)
       end
     end
     -- Look for another form of \discretionary, replacing a "-"
-    pattern = "^%.+\\discretionary replacing *$"
+    local pattern = "^%.+\\discretionary replacing *$"
     if match(line, pattern) then
       return "", line
     else





More information about the latex3-commits mailing list.