note 49898 deleted from function.preg-match-all by nlopess
| From: | nlopess@php.net | Date: | Wed, 07 Dec 2005 22:09:52 +0000 |
| Subject: | note 49898 deleted from function.preg-match-all by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99711@lists.php.net to get a copy of this message | ||
Note Submitter: phil at musicabliss dot co dot uk
----
In reply to rickyale at ig dot com dot br,
The get_urls function does not account for links that contain bookmarks (e.g.
/example.htm#bookmark). The regular expression simply needs the "#" added like so:
"|$type\=\"?'?
?([[:alnum:]:?=&@/#._-]+)\"?'??|i"