Improve regex for matching outbound urls

Fixes #72