mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
entity fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61998 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8244f72e92
commit
cbc686dad2
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ echo $string; /* Output: 'This string has 4 words.' */
|
|||
<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>
|
||||
|
|
Loading…
Reference in a new issue