dp.sh.Brushes.Bat = function()
{
	var funcs	=	'beep start del dir cd ping';

	var keywords =	'goto if NUL';

	var operators =	'not exist > -n -w';

	this.regexList = [
		{ regex: new RegExp('REM(.*)$', 'gm'),						css: 'comment' },			// one line and multiline comments
		{ regex: dp.sh.RegexLib.DoubleQuotedString,					css: 'string' },			// double quoted strings
		{ regex: dp.sh.RegexLib.SingleQuotedString,					css: 'string' },			// single quoted strings
		{ regex: new RegExp(this.GetKeywords(funcs), 'gmi'),		css: 'func' },				// functions
		{ regex: new RegExp(this.GetKeywords(operators), 'gmi'),	css: 'op' },				// operators and such
		{ regex: new RegExp(this.GetKeywords(keywords), 'gmi'),		css: 'keyword' }			// keyword
		];

	this.CssClass = 'dp-bat';
	this.Style =	'.dp-bat .func { color: #ff1493; }' +
					'.dp-bat .op { color: #808080; }';
}

dp.sh.Brushes.Bat.prototype	= new dp.sh.Highlighter();
dp.sh.Brushes.Bat.Aliases	= ['bat'];
