[TESTMAN]

- allow underscores in file name / path

svn path=/trunk/; revision=855
This commit is contained in:
Kamil Hornicek 2014-04-16 22:22:23 +00:00
parent 813a6d98f6
commit a3d42f2b21

View File

@ -46,8 +46,8 @@
$stmt->execute() or die("Query failed #1");
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$patterns[0] = "#^([a-z]*:?\()([a-zA-Z0-9\/]+.[a-z]+):([0-9]+)(\))#m";
$patterns[1] = "#^([a-zA-Z0-9]+.[a-z]+):([0-9]+)(: )#m";
$patterns[0] = "#^([a-z]*:?\()([a-zA-Z0-9\/_]+.[a-z]+):([0-9]+)(\))#m";
$patterns[1] = "#^([a-zA-Z0-9_]+.[a-z]+):([0-9]+)(: )#m";
$replacements[0] = '$1<a href="' . VIEWVC_TRUNK . '/reactos/$2?revision=' . $row["revision"] . '&amp;view=markup#l$3">$2:$3</a>$4';
$replacements[1] = '<a href="' . VIEWVC_TRUNK . '/rostests/winetests/' . $row["module"] . '/$1?revision=' . $row["revision"] . '&amp;view=markup#l$2">$1:$2</a>$3';