Fixed a bug in the regex for urls