beginCommand endCommand beginInstruction { endInstruction } beginVariable $@ endVariable . firstString " secondString ' firstSingleLineComment # secondSingleLineComment beginFirstMultiLineComment endFirstMultiLineComment beginSecondMultiLineComment endSecondMultiLineComment functionDefinition ^\s*def.* removeFromFunction def keywordsCaseSensitive recolourKeywordIfAlreadyColoured keywords BEGIN END and begin break case catch defined? do else elsif end ensure for if in include next not or private protected public redo require rescue retry return then throw unless until when while yield attr attr_reader attr_writer attr_accessor alias module class def undef self super nil false true __FILE__ __LINE__