CodeHighlighter.addStyle("ruby",{
	comment : {
		exp  : /#[^\n]+/
	},
	brackets : {
		exp  : /\(|\)/
	},
	string : {
		exp  : /'[^']*'|"[^"]*"/
	},
	keywords : {
		exp  : /\b(do|end|class|def|if|module|yield|then|else|for|until|unless|while|elsif|case|when|break|retry|redo|rescue|require|raise)\b/
	},
	symbol : {
	  exp : /([^:])(:[A-Za-z0-9_!?]+)/
	},
	constants : {
		exp : /\b(__(FILE|LINE)__|self|nil|true|false)\b(?![?!])/
	},
	special : {
		exp: /\b(initialize|new|loop|include|extend|raise|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|module_function|public|protected)\b(?![?!])/
	},
	instance_variable : {
		exp : /[^@](@)[a-zA-Z_]\w*/
	},
	class_variable : {
		exp : /(@@)[a-zA-Z_]\w*/
	},
	global_variable : {
		exp : /(\$)[a-zA-Z_]\w*/
	}
});
