Fix new lines break URL matching