Fixes #5008

This makes sure that line continuation are replaced with spaces. So that the other regexes still work.