cvs: phpdoc /en/functions regex.xml

From: Date: Sun, 11 Nov 2001 16:27:56 +0000
Subject: cvs: phpdoc /en/functions regex.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338680@lists.php.net to get a copy of this message
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:]]+://[^&lt;&gt;[:space:]]+[[:alnum:]/]", "&lt;a href=\"\\0\"&gt;\\0&lt;/a&gt;", $text); </programlisting> </example>

« previous php.doc (#969338680) next »