goba            Fri Jan  4 11:06:51 2002 EDT

  Modified files:              
    /phpdoc/scripts     checkent.php 
  Log:
  Check for used quote and not hardcoded "
  
  
Index: phpdoc/scripts/checkent.php
diff -u phpdoc/scripts/checkent.php:1.2 phpdoc/scripts/checkent.php:1.3
--- phpdoc/scripts/checkent.php:1.2     Fri Jan  4 09:41:54 2002
+++ phpdoc/scripts/checkent.php Fri Jan  4 11:06:51 2002
@@ -55,7 +55,7 @@
 
 // Find entity names and URLs
 $schemes_preg = "(" . join("|", $schemes) . ")";
-preg_match_all("/<!ENTITY\s+(\S+)\s+([\"'])(({$schemes_preg})[^\"]+)\\2\s*>/U",
+preg_match_all("/<!ENTITY\s+(\S+)\s+([\"'])(({$schemes_preg})[^\\2]+)\\2\s*>/U",
     $file_string, $entities_found);
 
 // These are the useful parts


Reply via email to