Html({
title => 'cheat sheets',
+ canonical => '/',
version => '1.17',
description => [
"Cheat sheets summarising various software programs and standards.",
EscapeHTML $line;
my ($date, $subject) = split /[\t\n]/, $line;
$date =~ s/ \K/<small>/ and $date .= '</small>';
- $subject =~ s{\A(\w+)(?=: )}{showlink($1, -e "$1.plp" && "/$1")}e;
+ $subject =~ s{\A (\w+) (?= (?:/\w+)* :\h )}{
+ showlink($1, -e "$1.plp" && "/$1");
+ }ex;
say "<p><strong>Last update</strong>: $date $subject</p>";
}}