util/fix-doc-nits: Fix link detection in collectnames() to be kinder
authorRichard Levitte <levitte@openssl.org>
Tue, 25 May 2021 08:29:24 +0000 (10:29 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 26 May 2021 13:15:18 +0000 (15:15 +0200)
commit0e7e3b9b9d2d0a49097b4e224098036d3e6b8087
treec7fe80296221c2190f3de92a858cc992fa49aadb
parent7c499c7da93561fd620338cc4f8691c1dbc9ee36
util/fix-doc-nits: Fix link detection in collectnames() to be kinder

The way the links were parsed out of the contents caused a regexp
recursion.  The easiest way to deal with it is to find all markup
using $markup_re, and then parsing out the L markups and add them to
the links array.

Fixes #15449

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15450)
util/find-doc-nits