From: Derick Rethans Date: Fri, 28 Mar 2003 21:04:45 +0000 (+0000) Subject: - Add the exponent to the float modifier X-Git-Tag: RELEASE_0_5~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56a172cc04ef6da71b54c22103a3c7ecadf64c00;p=php - Add the exponent to the float modifier --- diff --git a/run-tests.php b/run-tests.php index d5d850a1c1..ba49ca83b1 100755 --- a/run-tests.php +++ b/run-tests.php @@ -719,7 +719,7 @@ COMMAND $cmd $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 }