text: Prism.languages.bbcode = {
  	'tag': {
  		pattern: /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
  		inside: {
  			'tag': {
  				pattern: /^\[\/?[^\s=\]]+/,
  				inside: {
  					'punctuation': /^\[\/?/
  				}
  			},
  			'attr-value': {
  				pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/i,
  				inside: {
  					'punctuation': [
  						/^=/,
  						{
  							pattern: /^(\s*)["']|["']$/,
  							lookbehind: true
  						}
  					]
  				}
  			},
  			'punctuation': /\]/,
  			'attr-name': /[^\s=\]]+/
  		}
  	}
  };
  
  Prism.languages.shortcode = Prism.languages.bbcode;