Match URLs that end in, for instance, closing brackets.

I sure hope you're not talking about URLs at the end of bracketed
clauses, because boy would that be upsetting.