Improved host / path detection in regex for URL matching.