Better regex for [11844]

git-svn-id: https://develop.svn.wordpress.org/trunk@11845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-08-20 00:19:00 +00:00
parent 46e1de4878
commit 212f2ce180
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];
}