print '<ul class="replies">';
foreach (glob("$pagelink/*.txt") as $reply) {
- preg_match('</(\d{14}) : ([^:]*) [^/]* \.txt$>x', $reply, $replymeta);
+ preg_match('</(\d{2,14}) : ([^:]*) [^/]* \.txt$>x', $reply, $replymeta);
if (!$replymeta) continue;
$replydate = str_split($replymeta[1], 2);
$replydate[1] = $replydate[0] . $replydate[1];