From: patrick-scho Date: Sat, 29 Nov 2025 14:13:56 +0000 (+0100) Subject: fix regex X-Git-Url: https://gitweb.ps.run/ps-gitweb/commitdiff_plain/3a81b5ac2fc1dfda68584a7ab138a7fbbb183707 fix regex --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index ccbd12a..ca18cf4 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -7259,7 +7259,7 @@ sub get_markdown { } } } - if ($_ =~ /(]href="[^/])(.*?)"/) { + if ($_ =~ /(]href="[^\/])(.*?)"/) { my $origcut = "".$2; my $testcut = "".$2; my $is_anchor = ($testcut =~ /^#/);