Date: 10/28/01
- Next message: goba <email protected>: "[PHP-DOC] Bug #13854 Updated: Windows HTML Help"
- Previous message: y1o3wyw88 <email protected>: "[PHP-DOC] 國際健身俱樂部 品質保證"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
goba Sun Oct 28 04:01:19 2001 EDT
Modified files:
/phpdoc make_chm.php
Log:
Corrections requested in bug #13854
Index: phpdoc/make_chm.php
diff -u phpdoc/make_chm.php:1.16 phpdoc/make_chm.php:1.17
--- phpdoc/make_chm.php:1.16 Sat Sep 8 14:03:26 2001
+++ phpdoc/make_chm.php Sun Oct 28 04:01:17 2001
@@ -87,7 +87,7 @@
for ($i = 0; $i < count ($index_a); $i++) {
/* Chapters */
- if (ereg(">[IVX]+\.\ <A", $index_a[$i]) && !ereg("HREF=\"ref\.[a-z0-9]+\.html", $index_a[$i+1])) {
+ if (ereg(">[IVXLC]+\.\ <A", $index_a[$i]) && !ereg("HREF=\"ref\.[a-z0-9]+\.html", $index_a[$i+1])) {
$new_list = 1;
if ($not_closed == 1) {
@@ -105,7 +105,7 @@
}
/* Sub chapters */
- elseif (ereg(">([0-9]+|[IVXL]+|[A-Z])\.\ <A", $index_a[$i])) {
+ elseif (ereg(">([0-9]+|[IVXLC]+|[A-Z])\.\ <A", $index_a[$i])) {
if ($new_list == 1) {
$new_list = 0;
@@ -113,7 +113,7 @@
fputs($toc, "\n <ul>\n");
}
- //preg_match ("/>([0-9]+|[IVXL]+|[A-Z])\. <A/", $index_a[$i], $matches);
+ //preg_match ("/>([0-9]+|[IVXLC]+|[A-Z])\. <A/", $index_a[$i], $matches);
//$schapter["nr"] = $matches[1];
preg_match("/HREF=\"([a-z0-9-]+\.([a-z0-9-]+\.)?html)(\#[a-z0-9]+)?\"/", $index_a[$i+1], $matches);
$schapter["html"] = $matches[1];
- Next message: goba <email protected>: "[PHP-DOC] Bug #13854 Updated: Windows HTML Help"
- Previous message: y1o3wyw88 <email protected>: "[PHP-DOC] 國際健身俱樂部 品質保證"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

