[latex3-commits] [latex3/l3build] main: Re-order lines (5d988b0)

github at latex-project.org github at latex-project.org
Mon Sep 11 11:18:36 CEST 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/5d988b0ecd307507392fea95949464e992f596d8

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

commit 5d988b0ecd307507392fea95949464e992f596d8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Sep 11 10:18:36 2023 +0100

    Re-order lines


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

5d988b0ecd307507392fea95949464e992f596d8
 l3build-check.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index a81d84a..3279f2c 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -171,10 +171,10 @@ local function normalize_log(content,engine,errlevels)
     -- Deal with dates
     if match(line, "[^<]%d%d%d%d[/%-]%d%d[/%-]%d%d") then
         line = gsub(line,"%d%d%d%d[/%-]%d%d[/%-]%d%d","....-..-..")
-        -- Classical LaTeX version strings
-        line = gsub(line,"v%d+%.?%d?%d?%w?","v...")
         -- Semantic version-like ones
         line = gsub(line,"v%d+%.%d+%.%d+[%d%a.+%-]*","v...")
+        -- Classical LaTeX version strings
+        line = gsub(line,"v%d+%.?%d?%d?%w?","v...")
     end
     -- Deal with leading spaces for file and page number lines
     line = gsub(line,"^ *%[(%d)","[%1")





More information about the latex3-commits mailing list.