note 47382 deleted from function.preg-replace-callback by cece
| From: | cece@php.net | Date: | Sun, 14 Nov 2004 16:06:32 +0000 |
| Subject: | note 47382 deleted from function.preg-replace-callback by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80513@lists.php.net to get a copy of this message | ||
Note Submitter: vlad4321 at fastmail dot fm
----
In the example I have posted here on November 11, 2003 I forget on important line of code - the
$pattern_html field. Here it is:
<?php
$pattern_html = "/\b((http(s?):\/\/)|(www\.))([\w\.]+)";
$pattern_html .= "([\#\,\/\~\?\&\=\;\%\-\w+\.]+)\b/i";
?>
Sorry for this omission.