hholzgra Sun Nov 11 11:27:56 2001 EDT
Modified files:
/phpdoc/en/functions regex.xml
Log:
entity fix
Index: phpdoc/en/functions/regex.xml
diff -u phpdoc/en/functions/regex.xml:1.29 phpdoc/en/functions/regex.xml:1.30
--- phpdoc/en/functions/regex.xml:1.29 Sat Nov 10 16:49:40 2001
+++ phpdoc/en/functions/regex.xml Sun Nov 11 11:27:56 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.29 $ -->
+<!-- $Revision: 1.30 $ -->
<reference id="ref.regex">
<title>Regular Expression Functions (POSIX Extended)</title>
<titleabbrev>Regexps</titleabbrev>
@@ -255,7 +255,7 @@
<example>
<title>Replace URLs with links</title>
<programlisting role="php">
-$text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
+$text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
"<a href=\"\\0\">\\0</a>", $text);
</programlisting>
</example>