beginCommand endCommand beginInstruction { endInstruction } beginVariable : endVariable ; firstString " secondString firstSingleLineComment // secondSingleLineComment beginFirstMultiLineComment /* endFirstMultiLineComment */ beginSecondMultiLineComment endSecondMultiLineComment functionDefinition .*\n?\s*{ removeFromFunction keywordsCaseSensitive recolourKeywordIfAlreadyColoured keywords