Skip to content

Commit

Permalink
Re-order lines
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Sep 11, 2023
1 parent 8e76224 commit 5d988b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5d988b0

Please sign in to comment.