Change log parsing regex for better handling of multi-line messages

[?]
Jan 10, 2021, 10:32 PM
FM2OUEL7ZVUHNBEOLIWCZ64OZOKLOIYYHWMXCWQFZNRPEQWYZGNQC

Dependencies

  • [2] L3VOQYAF Add changelog view to the source control panel
  • [3] WCQM6IOK Add parsing of Author strings
  • [4] HF3NERPZ Add cache for changes and add change dependencies to log
  • [5] 64J6B76F Add command to rename channels
  • [*] ZGMIJNFV Create pijul.ts for executing commands using the Pijul CLI

Change contents

  • replacement in src/pijul.ts at line 403
    [2.1823][2.1823:1915]()
    const parsePattern = /Change\s([0-9A-Z]{53})\nAuthor:\s(.*)\nDate:\s(.*)\n\n.\s(.*)/gm;
    [2.1823]
    [2.1915]
    const parsePattern = /Change\s([0-9A-Z]{53})\nAuthor:\s(.*)\nDate:\s(.*)\n\n\s+(.*)/gm;