Error on invalid escape sequences

Also reformatting

Change is on 550-558 (new file lines) incase you're wondering.