Sha256: 6fc3b9d00593819bf94724f1d91170bb99ff55b98135ca7c7ca0ce0716ba2b0c

Contents?: true

Size: 1.11 KB

Versions: 80

Compression:

Stored size: 1.11 KB

Contents

// brush: "apache" aliases: []

//	This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
//	Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
//	See <jquery.syntax.js> for licensing details.

Syntax.register('apache', function(brush) {
	brush.push({
		pattern: /(<(\w+).*?>)/gi,
		matches: Syntax.extractMatches(
		{
			klass: 'tag',
			allow: ['attribute', 'tag-name', 'string']
		},
		{
			klass: 'tag-name',
			process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true)
		})
	});

	brush.push({
		pattern: /(<\/(\w+).*?>)/gi,
		matches: Syntax.extractMatches({klass: 'tag', allow: ['tag-name']}, {klass: 'tag-name'})
	});

	brush.push({
		pattern: /^\s+([A-Z][\w]+)/gm,
		matches: Syntax.extractMatches({
			klass: 'function',
			allow: ['attribute'],
			process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true)
		})
	});

	brush.push(Syntax.lib.perlStyleComment);
	brush.push(Syntax.lib.singleQuotedString);
	brush.push(Syntax.lib.doubleQuotedString);
	
	brush.push(Syntax.lib.webLink);
});

Version data entries

80 entries across 49 versions & 2 rubygems

Version Path
utopia-wiki-0.3.0 lib/components/jquery-syntax/source/jquery.syntax.brush.apache.js
utopia-wiki-0.2.0 lib/components/jquery-syntax/source/jquery.syntax.brush.apache.js
utopia-2.13.4 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.4 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.3 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.3 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.2 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.2 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.1 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.1 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.0 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.13.0 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.4 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.4 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.3 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.3 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.2 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.2 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.1 docs/_components/jquery-syntax/jquery.syntax.brush.apache.js
utopia-2.12.1 documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js