Fixed URL parsing regex.