Fix urls detection for strings with multiply dots.