derick Fri Mar 28 16:08:58 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4 run-tests.php
Log:
MFH
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.119.2.19 php4/run-tests.php:1.119.2.20
--- php4/run-tests.php:1.119.2.19 Mon Mar 17 07:43:36 2003
+++ php4/run-tests.php Fri Mar 28 16:08:58 2003
@@ -667,7 +667,7 @@
$wanted_re = str_replace("%i", "[+\-]?[0-9]+", $wanted_re);
$wanted_re = str_replace("%d", "[0-9]+", $wanted_re);
$wanted_re = str_replace("%x", "[0-9a-fA-F]+", $wanted_re);
- $wanted_re = str_replace("%f", "[+\-]?\.?[0-9]+\.?[0-9]*",
$wanted_re);
+ $wanted_re = str_replace("%f",
"[+\-]?\.?[0-9]+\.?[0-9]*(E-?[0-9]+)?", $wanted_re);
$wanted_re = str_replace("%c", ".", $wanted_re);
// %f allows two points "-.0.0" but that is the best *simple*
expression
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php