constant.character.escape.apostrophe could never match due to the end pattern being matched first, causing the string to end and immediately begin again rather than the escape being caught. Added a negative look-ahead to various end-patterns to prevent this. Changed: U trunk/Bundles/TextMate.tmbundle/Syntaxes/LanguageDefinition.plist