derick Fri Mar 28 16:04:46 2003 EDT
Modified files:
/php4 run-tests.php
Log:
- Add the exponent to the float modifier
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.152 php4/run-tests.php:1.153
--- php4/run-tests.php:1.152 Fri Mar 21 12:17:54 2003
+++ php4/run-tests.php Fri Mar 28 16:04:45 2003
@@ -719,7 +719,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