don't require a space before an auto-linked URL (word boundary is enough); handle closing parentheses at the end of auto-linked URLs