Fix title regexp to stop when new line