From: Sebastien D. <sde...@us...> - 2005-06-14 13:11:43
|
Update of /cvsroot/tslogparser/tslogparser/admin/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25458/admin/modules Modified Files: tahi.mod.php Log Message: Fix for HA functions Index: tahi.mod.php =================================================================== RCS file: /cvsroot/tslogparser/tslogparser/admin/modules/tahi.mod.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- tahi.mod.php 14 Jun 2005 12:42:47 -0000 1.3 +++ tahi.mod.php 14 Jun 2005 13:11:34 -0000 1.4 @@ -150,7 +150,7 @@ /* The format should be either &print:<B>(test category hierarchy)</B> or - (file):(anything):(anything):(anything):(test name): + (file):(anything):(anything):(anything):(test name):(anything) */ $regs=array(); if (preg_match("/^&print:\s*<B>(.*)\<\/B>$/", $ligne, $regs)) @@ -188,7 +188,7 @@ } - if (preg_match("/^([^:]+):[^:]*:[^:]*:[^:]*:([^:]+):?$/",$ligne,$regs)) + if (preg_match("/^(?:&#)?([^:]+):[^:]*:[^:]*:[^:]*:([^:]+)(:.*)?$/",$ligne,$regs)) { $match = TRUE; //if ($debug) |