Generally the example you provided worked okay in the latest version, although the regexp string highlighting was termination after the first } in your first example. I've fixed in in the Packages repo.

If you run into any further errors, please open an issue so we can get it resolved.