note 29187 added to function.ereg-replace

From: Date: Wed, 05 Feb 2003 16:10:22 +0000
Subject: note 29187 added to function.ereg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-43464@lists.php.net to get a copy of this message
i am very pleased with the URL-detection routine by johnl at noimagestyspam dot gr... the only thing i am missing in it is that is doesn't detect portnumbers... when this url is in the text: 'http://www.test.com:8080/test/test.php' the link ends just before the ':' i just can't squeeze this in however, if somebody can? -- http://www.php.net/manual/en/function.ereg-replace.php http://master.php.net/manage/user-notes.php?action=edit+29187 http://master.php.net/manage/user-notes.php?action=delete+29187 http://master.php.net/manage/user-notes.php?action=reject+29187

« previous php.notes (#43464) next »