64 'COMMENT_SINGLE' => array(),
65 'COMMENT_MULTI' => array(),
67 'COMMENT_REGEXP' => array(
68 1 =>
"/^\s*@?REM\b.*$/mi",
73 'QUOTEMARKS' => array(),
78 'if',
'else',
'goto',
'shift',
84 'not',
'exist',
'errorlevel',
86 'equ',
'neq',
'lss',
'leq',
'gtr',
'geq'
90 'cd',
'md',
'rd',
'chdir',
'mkdir',
'rmdir',
'dir',
91 'del',
'copy',
'move',
'ren',
'rename',
93 'setlocal',
'endlocal',
'set',
95 'pushd',
'popd',
'title',
'verify'
99 'prn',
'nul',
'lpt3',
'lpt2',
'lpt1',
'con',
100 'com4',
'com3',
'com2',
'com1',
'aux'
104 '(',
')',
'@',
'%',
'!',
'|',
'<',
'>',
'&'
106 'CASE_SENSITIVE' => array(
115 1 =>
'color: #00b100; font-weight: bold;',
116 2 =>
'color: #000000; font-weight: bold;',
117 3 =>
'color: #b1b100; font-weight: bold;',
118 4 =>
'color: #0000ff; font-weight: bold;'
121 1 =>
'color: #808080; font-style: italic;',
122 2 =>
'color: #b100b1; font-style: italic;',
123 3 =>
'color: #33cc33;'
125 'ESCAPE_CHAR' => array(
126 0 =>
'color: #ff0000; font-weight: bold;'
129 0 =>
'color: #66cc66;'
132 0 =>
'color: #ff0000;'
135 0 =>
'color: #cc66cc;'
140 0 =>
'color: #33cc33;',
141 1 =>
'color: #33cc33;'
146 0 =>
'color: #b100b1; font-weight: bold;',
147 1 =>
'color: #448844;',
148 2 =>
'color: #448888;',
149 3 =>
'color: #448888;'
153 'OBJECT_SPLITTERS' => array(
156 1 =>
'http://www.ss64.com/nt/{FNAMEL}.html',
157 2 =>
'http://www.ss64.com/nt/{FNAMEL}.html',
158 3 =>
'http://www.ss64.com/nt/{FNAMEL}.html',
159 4 =>
'http://www.ss64.com/nt/{FNAMEL}.html'
165 GESHI_SEARCH =>
'((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\s\n]*)',
174 GESHI_SEARCH =>
'(SET\s+(?si:\\/A\s+|\\/P\s+)?)([^=\n]+)(\s*=)',
183 GESHI_SEARCH =>
'(!(?:!(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^!>\n]*(?=!))((?<!%\d)%|)(?!!>)',
192 GESHI_SEARCH =>
'(%(?:%(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^%\n]*(?=%))((?<!%\d)%|)',
200 'SCRIPT_DELIMITERS' => array(
202 'HIGHLIGHT_STRICT_BLOCK' => array(
205 'PARSER_CONTROL' => array(
206 'ENABLE_FLAGS' => array(
212 'DISALLOWED_BEFORE' =>
'(?<![\w\-])'
215 'DISALLOWED_BEFORE' =>
'(?<![\w\-])'
218 'DISALLOWED_BEFORE' =>
'(?<![\w\-])'
221 'DISALLOWED_BEFORE' =>
'(?<!\w)'
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_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_NEVER
#+ @access private
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.