Skip to content

Commit dcc85ff

Browse files
committed
improve the GitHub links regexp in the RMG
This tweak allows it to be run multiple times without further breaking the existing POD links
1 parent d978fa0 commit dcc85ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Porting/release_managers_guide.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ an entry has been added by F<corelist-perldelta.pl>.
825825

826826
You should add pod links for GitHub issue references thusly:
827827

828-
$ perl -gpi -e 's{\b(?:GH|github)\s*#(\d+)}{L<GH #$1|https://github.com/Perl/perl5/issues/$1>}ig' pod/perldelta.pod
828+
$ perl -gpi -e 's{(?<!<)\b(?:GH|github)\s*#(\d+)}{L<GH #$1|https://github.com/Perl/perl5/issues/$1>}ig' pod/perldelta.pod
829829

830830
Re-read the perldelta to try to find any embarrassing typos and thinkos;
831831
remove any C<TODO> or C<XXX> flags; update the "Known Problems" section

0 commit comments

Comments
 (0)