46 'LANG_NAME' =>
'Twig',
47 'COMMENT_SINGLE' => array(),
48 'COMMENT_MULTI' => array(
'{#' =>
'#}'),
50 'QUOTEMARKS' => array(
"'",
'"'),
133 'template_from_string'
193 'CASE_SENSITIVE' => array(
204 1 =>
'color: #0600FF;',
205 2 =>
'color: #008000;',
206 3 =>
'color: #0600FF;',
207 4 =>
'color: #804040;',
208 5 =>
'color: #008000;'
211 'MULTI' =>
'color: #008080; font-style: italic;'
213 'ESCAPE_CHAR' => array(
214 0 =>
'color: #000099; font-weight: bold;'
217 0 =>
'color: #D36900;'
220 0 =>
'color: #ff0000;'
223 0 =>
'color: #cc66cc;'
226 1 =>
'color: #006600;'
229 0 =>
'color: #D36900;'
233 1 =>
'color: #808080; font-style: italic;',
234 2 =>
'color: #009000;'
237 0 =>
'color: #00aaff;',
238 1 =>
'color: #00aaff;'
242 1 =>
'http://twig.sensiolabs.org/doc/tags/{FNAMEL}.html',
243 2 =>
'http://twig.sensiolabs.org/doc/filters/{FNAMEL}.html',
244 3 =>
'http://twig.sensiolabs.org/doc/functions/{FNAMEL}.html',
245 4 =>
'http://twig.sensiolabs.org/doc/tests/{FNAMEL}.html',
249 'OBJECT_SPLITTERS' => array(
254 GESHI_SEARCH =>
"([[:space:]])([a-zA-Z_][a-zA-Z0-9_]*)",
269 'SCRIPT_DELIMITERS' => array(
278 'HIGHLIGHT_STRICT_BLOCK' => array(
283 'PARSER_CONTROL' => array(
284 'KEYWORDS' => array()
An exception for terminatinating execution or to throw for unit testing.
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
const GESHI_SEARCH
The key of the regex array defining what to search for.
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...
const GESHI_ALWAYS
Strict mode always applies.
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement.
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.