SyntaxHighlighter.brushes.Rb = function()
{
	var keywords =	'And Loop Array Me As Mod Boolean Module ByRef Namespace ByVal ' +
					'New Call Next Case Nil Catch Not Class Object Color Of Const ' +
					'Or DebugPrint Private Declare Protected Dim Public Do Raise ' +
					'Double Redim Downto Rem Each Return Else Return ElseIf Select ' +
					'End Self Event Shared Exception Single Exit Static False Step ' +
					'Finally String For Sub Function Then GoTo To Handles True If ' +
					'Try Implements Until In Wend Inherits While Inline68K ' +
					'Integer Interface Isa Lib' +
					'#else #endif #if #pragma #bad';
	var funcs =	'Remove Ubound Cell ListCount';


	this.regexList = [
		{ regex: /\\w+/g,										css: 'variable' },
		{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi,				css: 'value' },			// numbers
		{ regex: /'.*$/gmi,										css: 'comments' },			// one line comments
		{ regex: /(?:^|[^\\])\/\/.*$/gmi,						css: 'comments' },			// C style comments
		{ regex: SyntaxHighlighter.regexLib.doubleQuotedString,	css: 'string' },			// strings
		{ regex: new RegExp(this.getKeywords(keywords), 'gmi'),	css: 'keyword' },			// rb keyword
		{ regex: new RegExp(this.getKeywords(funcs), 'gmi'),	css: 'functions' },			// rb functions
		{ regex: /^\s*#.*$/gmi,									css: 'preprocessor' }		// preprocessor tags like #region and #endregion
		];

	this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};

SyntaxHighlighter.brushes.Rb.prototype	= new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Rb.aliases	= ['rb'];

