From 4746c2374ec672f47c65e956a08960233148de86 Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Sun, 1 Sep 2024 17:17:24 +0200 Subject: [PATCH] release_managers_guide: clean up github issue regex - change $2 to $1 in the replacement part; $2 no longer exists after commit febfc89899d013 - only search for "gh" or "github" at word boundaries; don't replace "gh" in e.g. "high #5" - change `BEGIN{undef $/};` to the `-g` command-line option - remove useless /m flag on the regex (we're not using `^` or `$`) (cherry picked from commit d526cc358bb75a701aff74f200d4de746623839f) --- Porting/release_managers_guide.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Porting/release_managers_guide.pod b/Porting/release_managers_guide.pod index 9a316f845037..30c4aac65c87 100644 --- a/Porting/release_managers_guide.pod +++ b/Porting/release_managers_guide.pod @@ -808,7 +808,7 @@ an entry has been added by F. You should add pod links for GitHub issue references thusly: - $ perl -p -i -e'BEGIN{undef $/}; s{(?:GH|github)\s*#(\d+)}{L}img' pod/perldelta.pod + $ perl -gpi -e 's{\b(?:GH|github)\s*#(\d+)}{L}ig' pod/perldelta.pod Re-read the perldelta to try to find any embarrassing typos and thinkos; remove any C or C flags; update the "Known Problems" section