From 98c8c37409fdf2d09f9b9ce126d3ef1c73e644f6 Mon Sep 17 00:00:00 2001 From: seek3r Date: Mon, 12 Nov 2001 20:58:07 +0000 Subject: [PATCH] added in ability to handle mltiple values for each entry, plus started with teh regexp for limiting to only class.*.inc.php --- doc/inlinedocparser.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/inlinedocparser.php b/doc/inlinedocparser.php index aaf0c10e90..6046d606ce 100755 --- a/doc/inlinedocparser.php +++ b/doc/inlinedocparser.php @@ -47,8 +47,9 @@ while(list($key, $value) = each($files)) { //echo '$key = '.$key.' and $value = '.$value.'
'; - if (!preg_match("/^(class\.).(\.inc\.php)+$/i",$value)){ - //unset($files[$key]); + if (!preg_match("/^class\.(.*)\.inc\.php+$/",$value)) + { + unset($files[$key]); //echo '#'.$key.' is bad, and should be unset
'; } }