Date: 07/31/00
- Next message: Ricardo Soares Guimarães: "[PHP-DOC] cvs: phpdoc / lang-pt_BR.ent manual.xml.in"
- Previous message: Monte Ohrt: "[PHP-DOC] cvs: phpdoc /en/functions pcre.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ("'<script[^>]*?>.*?</script>'si", // Strip out javascript
- "'<[\/\!]*?[^<>]*?>'si", // Strip out html tags
- "'([\r\n])[\s]+'", // Strip out white space
- "'&(quote|#34);'i", // Replace html entities
+ "'<[\/\!]*?[^<>]*?>'si", // Strip out html tags
+ "'([\r\n])[\s]+'", // Strip out white space
+ "'&(quote|#34);'i", // Replace html entities
"'&(amp|#38);'i",
"'&(lt|#60);'i",
"'&(gt|#62);'i",
@@ -404,7 +404,7 @@
"'&(cent|#162);'i",
"'&(pound|#163);'i",
"'&(copy|#169);'i",
- "'&#(\d+);'e"); // evaluate as php
+ "'&#(\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>
- Next message: Ricardo Soares Guimarães: "[PHP-DOC] cvs: phpdoc / lang-pt_BR.ent manual.xml.in"
- Previous message: Monte Ohrt: "[PHP-DOC] cvs: phpdoc /en/functions pcre.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

