You misplaced the parentheses incorrectly that resulted in the error. Here is what you should have done:
if ($regex($bvar(&goo,1-).text,/(http:\/\/\S+)/)) {
All the shortened URLs should also be clickable now.