yet another bugfix in log parsing

[?]
Sep 18, 2022, 6:27 AM
N7VXEGLGP4T4BQXWBTTSWKA4BUM72DV4QVNFSETCJIF2QIG4BPHAC

Dependencies

  • [2] 6DYSB5DY bugfix: perform matches in the right order
  • [3] ME7WBLF5 bugfix: log filenames can have 2 formats
  • [4] KKMFQDR4 editing source code from within the app

Change contents

  • replacement in log_browser.lua at line 30
    [3.193112][2.18:125]()
    line.filename, line.line_number, line.data = line.data:match('%[string "([^:]*)"%]:([^:]*):%s*(.*)')
    [3.193112]
    [3.112]
    local rest
    line.filename, line.line_number, rest = line.data:match('%[string "([^:]*)"%]:([^:]*):%s*(.*)')
  • replacement in log_browser.lua at line 33
    [3.147][2.126:222]()
    line.filename, line.line_number, line.data = line.data:match('([^:]*):([^:]*):%s*(.*)')
    [3.147]
    [3.256]
    line.filename, line.line_number, rest = line.data:match('([^:]*):([^:]*):%s*(.*)')
    end
    if rest then
    line.data = rest