Remove escape string literal error and improve error message
Merge pull request #3915 from yebblies/escapestring

Remove escape string literal error and improve error message