From adfcbf49c9a50ffc4d6f273a5837c0108125b55c Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 29 Jan 2014 12:14:51 +0200 Subject: [PATCH] Fix contest-matching regex in Pb::Entry --- lib/Gruntmaster/Page/Pb/Entry.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Page/Pb/Entry.pm b/lib/Gruntmaster/Page/Pb/Entry.pm index 0516053..f2fa962 100644 --- a/lib/Gruntmaster/Page/Pb/Entry.pm +++ b/lib/Gruntmaster/Page/Pb/Entry.pm @@ -31,7 +31,7 @@ HTML sub _generate{ my ($self, $htc, $path, $lang) = @_; - $path =~ m,(?:ct/([^/])+/)?pb/(\w+)\.html$,; + $path =~ m,(?:ct/([^/]+)/)?pb/(\w+)\.html$,; my ($contest, $id) = ($1, $2); -- 2.39.2