Better regex for [11844]

git-svn-id: http://svn.automattic.com/wordpress/trunk@11845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-08-20 00:19:00 +00:00
parent 668cfea9f2
commit 934eadc858
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ function _make_url_clickable_cb($matches) {
$url = $matches[2];
$after = '';
if ( preg_match( '|(.+)([).])$|', $url, $split ) ) {
if ( preg_match( '|(.+?)([).]*)$|', $url, $split ) ) {
$url = $split[1];
$after = $split[2];
}