HomeSoftware Heritage

Improve phabricator link parsing regexp

Description

Improve phabricator link parsing regexp

bar would be parsed as (:link "foo" "bar ") instead of the
expected (:link "foo" "bar"), because of the greedy match within the
brackets. Turning these matches to lazy matches properly trims the spaces

Details

Provenance
olasdAuthored on Oct 16 2022, 7:20 PM
olasdPushed on Oct 16 2022, 11:52 PM
Parents
R263:df821e0ef717: Tighten regexes when parsing phabricator notes
Branches
Unknown
Tags
Unknown