derick          Tue Dec 16 09:53:43 2003 EDT

  Modified files:              
    /php-src    run-tests.php 
  Log:
  - Added %e modifier which gets replaced by the current value of
    DIRECTORY_SEPARATOR.
  
  
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.181 php-src/run-tests.php:1.182
--- php-src/run-tests.php:1.181 Fri Dec  5 08:45:00 2003
+++ php-src/run-tests.php       Tue Dec 16 09:53:43 2003
@@ -843,6 +843,8 @@
                if (isset($section_text['EXPECTF'])) {
                        $wanted_re = preg_quote($wanted_re, '/');
                        // Stick to basics
+                       $wanted_re = str_replace("%e", '\\' . DIRECTORY_SEPARATOR, 
$wanted_re);
+                       echo $wanted_re;
                        $wanted_re = str_replace("%s", ".+?", $wanted_re); //not greedy
                        $wanted_re = str_replace("%i", "[+\-]?[0-9]+", $wanted_re);
                        $wanted_re = str_replace("%d", "[0-9]+", $wanted_re);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to