mirror of
https://github.com/reactos/web.git
synced 2024-11-26 21:20:28 +00:00
[TESTMAN]
- allow underscores in file name / path svn path=/trunk/; revision=855
This commit is contained in:
parent
813a6d98f6
commit
a3d42f2b21
@ -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"] . '&view=markup#l$3">$2:$3</a>$4';
|
||||
$replacements[1] = '<a href="' . VIEWVC_TRUNK . '/rostests/winetests/' . $row["module"] . '/$1?revision=' . $row["revision"] . '&view=markup#l$2">$1:$2</a>$3';
|
||||
|
Loading…
Reference in New Issue
Block a user