Re: cvs: php4 / run-tests.php
| From: | Melvyn Sopacua | Date: | Mon, 21 Oct 2002 11:20:15 +0000 |
| Subject: | Re: cvs: php4 / run-tests.php | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15104@lists.php.net to get a copy of this message | ||
Good call on \s, but what's with the \$ ?
Haven't used ereg functions in ages, but why should the $ be escaped?
If this is mandatory, we should update the examples at:
http://www.php.net/manual/en/ref.regex.php
At 10:23 10/21/2002 +0000, Moriyoshi Koizumi wrote:
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua <@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?"moriyoshi Mon Oct 21 06:23:31 2002 EDTModified files:/php4 run-tests.phpLog: Fixed typo. Index: php4/run-tests.php diff -u php4/run-tests.php:1.78 php4/run-tests.php:1.79--- php4/run-tests.php:1.78 Mon Oct 21 06:22:41 2002+++ php4/run-tests.php Mon Oct 21 06:23:31 2002 @@ -435,7 +435,7 @@@unlink($tmp_skipif); if (ereg("^skip", trim($output))){ echo "SKIP $tested"; - $reason = (ereg("^skip[[:space:]]*(.+)\$", trim($output))) ? ereg_replace("^^skip[[:space:]]*(.+)\$", "\\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