Added knowledge of regular expressions

Without this, a special character inside a regex literal
could leave the state machine in the wrong state

Grammar loosely based on
http://www.antlr3.org/grammar/1153976512034/ecmascriptA3.g