note 18333 deleted from function.preg-match by irc-html
| From: | irc-html@php.net | Date: | Fri, 18 Jan 2002 19:45:45 +0000 |
| Subject: | note 18333 deleted from function.preg-match by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25062@lists.php.net to get a copy of this message | ||
My last expression needed a "not a colon or slash" in the host section. The right expr is
this:
preg_match("/^(.*:\/\/)?([^:\/]+):?([0-9]+)?(.*)/", $url, $match)