isagalaev/highlight.js — pull request #169 by SPARTAN563 (2012-12-08 16:36:42+00:00)
Title: Updates to highlighter.js and bash language definition

I've made a number of changes to both the highlighter's core as well as a complete rewrite of the Bash highlighter to add missing functionality and improve output.

##Changes to Highlighter.js
* Added 'parent' reserved value for **contains** which can be used to contain a parent definition within a child definition.
* Added support for Javascripts /regex/ style expressions instead of having to use strings, makes it nicer to work with regular expressions since you aren't required to double escape everything. (Completely backwards compatible)

I have also updated the build script to support this method of defining regular expressions (otherwise, compressing the files results in breaking of the definitions).

##Changes to Bash highlighter
I've completely rewritten the Bash highlighter to better represent what everything means, it also adds support for escape sequences (including variable names) within strings.