]> iEval git - gruntmaster-page.git/commitdiff
Fix contest-matching regex in Pb::Entry
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 10:14:51 +0000 (12:14 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 10:14:51 +0000 (12:14 +0200)
lib/Gruntmaster/Page/Pb/Entry.pm

index 0516053f7db69bcdeed547bd9e4c4f432a68f90e..f2fa9626c0aefd7298fb68ae076cc2be86e102fc 100644 (file)
@@ -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);
 
This page took 0.031995 seconds and 4 git commands to generate.