goba            Fri Aug 30 05:05:54 2002 EDT

  Modified files:              
    /phpdoc/scripts     missing-entities.php.in 
  Log:
  Heh, there is no g modifier, it's the default...
  
  
Index: phpdoc/scripts/missing-entities.php.in
diff -u phpdoc/scripts/missing-entities.php.in:1.7 
phpdoc/scripts/missing-entities.php.in:1.8
--- phpdoc/scripts/missing-entities.php.in:1.7  Thu Aug  8 05:54:21 2002
+++ phpdoc/scripts/missing-entities.php.in      Fri Aug 30 05:05:54 2002
@@ -17,7 +17,7 @@
 # |             Gabor Hojtsy <[EMAIL PROTECTED]>                              |
 # +----------------------------------------------------------------------+
 # 
-# $Id: missing-entities.php.in,v 1.7 2002/08/08 09:54:21 goba Exp $
+# $Id: missing-entities.php.in,v 1.8 2002/08/30 09:05:54 goba Exp $
 */
 
 // Print out info for the viewer and log files
@@ -67,8 +67,8 @@
     
     // missing entity found
     if (strpos($line, "not defined") !== FALSE) {
-        $line = preg_replace('!^.[^"]*"!g', '<!ENTITY ', $line);
-        $line = preg_replace('!".*!g', ' "???">', $line);
+        $line = preg_replace('!^.[^"]*"!', '<!ENTITY ', $line);
+        $line = preg_replace('!".*!', ' "???">', $line);
         $missing_entities[] = $line;
     }
     



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

Reply via email to