- elsif($line =~ /(\S+) (\(\S+\))([,:])/ || $line =~ /(\S+) (\(\S+,\s+\S+\))([,:])/) {
- my ($file, $rest, $ext) = ($1, $2, $3);
- print "<code>";
- print "<a href=\"http://cvs.i-scream.org/$file\" style=\"text-decoration: none;\">";
- print HTML_encode($file);
- print "</a> ";
- if($rest =~ /\((\S+)\.(\d+)(.*)\)/) {
+ elsif($line =~ /([^\s]+) (\([^,^\)]+(,[^\)]+)?\))([,:])/) {
+ my ($file, $rev, $tags, $ext) = ($1, $2, $3, $4);
+ $ext = escapeHTML($ext);
+ if($sec != $secfiles) {
+ $sec = $secfiles;
+ print <<"END";
+ <p>
+END
+ }
+ $file = escapeHTML($file);
+ print <<"END";
+ <a href="http://cvs.i-scream.org/$file">$file</a>
+END
+ if($rev =~ /\(([^\s]+)\.(\d+)(.*)\)/) {