[PHP-DOC] cvs: phpdoc /en/functions pcre.xml From: Egon Schmid (eschmid <email protected>)
Date: 07/31/00

eschmid Mon Jul 31 10:19:26 2000 EDT

  Modified files:
    /phpdoc/en/functions pcre.xml
  Log:
  Only spaces, no tabs.
  
Index: phpdoc/en/functions/pcre.xml
diff -u phpdoc/en/functions/pcre.xml:1.25 phpdoc/en/functions/pcre.xml:1.26
--- phpdoc/en/functions/pcre.xml:1.25 Mon Jul 31 09:11:27 2000
+++ phpdoc/en/functions/pcre.xml Mon Jul 31 10:19:26 2000
@@ -393,9 +393,9 @@
 // common HTML entities to their text equivalent.
 
 $search = array ("'&lt;script[^&gt;]*?&gt;.*?&lt;/script&gt;'si", // Strip out javascript
- "'&lt;[\/\!]*?[^&lt;&gt;]*?&gt;'si", // Strip out html tags
- "'([\r\n])[\s]+'", // Strip out white space
- "'&amp;(quote|#34);'i", // Replace html entities
+ "'&lt;[\/\!]*?[^&lt;&gt;]*?&gt;'si", // Strip out html tags
+ "'([\r\n])[\s]+'", // Strip out white space
+ "'&amp;(quote|#34);'i", // Replace html entities
                  "'&amp;(amp|#38);'i",
                  "'&amp;(lt|#60);'i",
                  "'&amp;(gt|#62);'i",
@@ -404,7 +404,7 @@
                  "'&amp;(cent|#162);'i",
                  "'&amp;(pound|#163);'i",
                  "'&amp;(copy|#169);'i",
- "'&amp;#(\d+);'e"); // evaluate as php
+ "'&amp;#(\d+);'e"); // evaluate as php
 
 $replace = array ("",
                   "",
@@ -418,7 +418,7 @@
                   chr(162),
                   chr(163),
                   chr(169),
- "chr(\\1)");
+ "chr(\\1)");
 
 $text = preg_replace ($search, $replace, $document);
       </programlisting>