note 62694 deleted from function.preg-replace by bjori
| From: | bjori@php.net | Date: | Tue, 07 Mar 2006 14:34:58 +0000 |
| Subject: | note 62694 deleted from function.preg-replace by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104994@lists.php.net to get a copy of this message | ||
Note Submitter: Graham Dawson graham at imdanet dot com
----
Just realised my regexp would have a tendency to strip out the interior of <a> tags and make a
mess, so here's an updated version:
$regexp =
'@([^;"]+)?(?<!'.$allow.'):(?!\/\/(.+?)\/)((.*?)[^;"]+)(;)?@is';