cvs: php4(PHP_4_3) / run-tests.php
| From: | Derick Rethans | Date: | Fri, 28 Mar 2003 21:08:58 +0000 |
| Subject: | cvs: php4(PHP_4_3) / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19827@lists.php.net to get a copy of this message | ||
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
}