moriyoshi Mon Oct 21 06:22:41 2002 EDT Modified files: /php4 run-tests.php Log: \s cannot be used with ereg() Index: php4/run-tests.php diff -u php4/run-tests.php:1.77 php4/run-tests.php:1.78 --- php4/run-tests.php:1.77 Mon Oct 21 05:04:56 2002 +++ php4/run-tests.php Mon Oct 21 06:22:41 2002 @@ -435,7 +435,7 @@ @unlink($tmp_skipif); if (ereg("^skip", trim($output))){ echo "SKIP $tested"; - $reason = (ereg("^skip\s*(.+)$", trim($output))) ? ereg_replace("^skip\s*(.+)$", "\\1", trim($output)) : FALSE; + $reason = (ereg("^skip[[:space:]]*(.+)\$", +trim($output))) ? ereg_replace("^^skip[[:space:]]*(.+)\$", "\\1", trim($output)) : +FALSE; if ($reason) { echo " (reason: $reason)\n"; } else {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php