URL regex improvements