nlopess Thu Jul 26 15:13:22 2007 UTC
Modified files:
/phpdoc/chm make_chm.php
Log:
fix the TOC regex, and bring the appendices back to the TOC
http://cvs.php.net/viewvc.cgi/phpdoc/chm/make_chm.php?r1=1.27&r2=1.28&diff_format=u
Index: phpdoc/chm/make_chm.php
diff -u phpdoc/chm/make_chm.php:1.27 phpdoc/chm/make_chm.php:1.28
--- phpdoc/chm/make_chm.php:1.27 Thu Jul 26 14:24:28 2007
+++ phpdoc/chm/make_chm.php Thu Jul 26 15:13:21 2007
@@ -88,7 +88,7 @@
$MAIN_REGEXP = join("|", $MAIN_FILES);
-
preg_match_all("![IVX]+[^<]*<A\\s+HREF=\"($MAIN_REGEXP)\"\\s*>([^<]+)</A\\s*>(.+)</DT\\s*></DL\\s*></DD\\s*><DT\\s*>!Ui",
$indexline, $matches, PREG_SET_ORDER);
+
preg_match_all("![IVX]+[^<]*<A\\s+HREF=\"($MAIN_REGEXP)\"\\s*>([^<]+)</A\\s*>(.+)</DT\\s*></DL\\s*></DD\\s*><(?:DT|/DL)\\s*>!Ui",
$indexline, $matches, PREG_SET_ORDER);
// Go through the main files, and link in subpages
foreach ($matches as $matchinfo) {