1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
// brush: "php" 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.brushes.dependency('php', 'php-script');
Syntax.register('php', function(brush) {
brush.push({
pattern: /(<\?(php)?)((.|\n)*?)(\?>)/gm,
matches: Syntax.extractMatches({klass: 'keyword'}, null, {brush: 'php-script'}, null, {klass: 'keyword'})
})
});
|