That's correct - sublime wasn't correctly finding the end of the regexp... making the remaining of the document a solid colour. Adding the escape doesn't change the behaviour though.