43 'LANG_NAME' =>
'eMail (mbox)',
44 'COMMENT_SINGLE' =>
array(),
45 'COMMENT_MULTI' =>
array(),
47 'QUOTEMARKS' =>
array(
'"'),
51 'HTTP',
'SMTP',
'ASMTP',
'ESMTP' 54 'Authentication-Results',
'Comment',
'Content-Description',
'Content-Type',
55 'Content-Disposition',
'Content-Transfer-Encoding',
'Delivered-To',
56 'Dkim-Signature',
'Domainkey-Signature',
'In-Reply-To',
'Message-Id',
57 'MIME-Version',
'OpenPGP',
'Received',
'Received-SPF',
'References',
58 'Reply-To',
'Resend-From',
'Resend-To',
'Return-Path',
'User-Agent' 61 'Date',
'From',
'Sender',
'Subject',
'To',
'CC' 64 'by',
'for',
'from',
'id',
'with' 68 ':',
';',
'<',
'>',
'[',
']' 70 'CASE_SENSITIVE' =>
array(
79 1 =>
'color: #0000FF; font-weight: bold;',
80 2 =>
'color: #000000; font-weight: bold;',
81 3 =>
'color: #800000; font-weight: bold;',
82 4 =>
'font-weight: bold;',
86 'ESCAPE_CHAR' =>
array(
87 0 =>
'color: #000099; font-weight: bold;' 90 0 =>
'color: #66cc66;' 93 0 =>
'color: #ff0000;' 96 0 =>
'color: #cc66cc;' 101 0 =>
'color: #66cc66;' 104 0 =>
'color: #000040;',
107 1 =>
'color: #000000; font-weight: bold;',
108 2 =>
'color: #0000FF;',
109 3 =>
'color: #008000;',
110 4 =>
'color: #0000FF; font-weight: bold;',
111 5 =>
'font-weight: bold;',
112 6 =>
'color: #400080;' 122 'OBJECT_SPLITTERS' =>
array(
127 GESHI_SEARCH =>
"(?<=\A\x20|\n)x-[a-z0-9\-]*(?=\s*:|\s*<)",
135 GESHI_SEARCH =>
"\b(?<!\\/)(?P<q>\"?)[\w\.\-]+\k<q>@(?!-)[\w\-]+(?<!-)(?:(?:\.(?!-)[\w\-]+(?<!-))*)?",
143 GESHI_SEARCH =>
"\b(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s+\d\d?\s+" .
144 "(?:Jan|Feb|Mar|apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+" .
145 "\d{4}\s+\d\d?:\d\d:\d\d\s+[+\-]\d{4}(?:\s+\(\w+\))?",
153 GESHI_SEARCH =>
"(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|".
154 "(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|".
155 "(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)|".
157 "(?<=\s)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\s)|".
158 "(?<=\[)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\])|".
159 "(?<==)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=<)|".
161 "(?<=\s)\:(?:\:[a-f\d]{1,4})+(?=\s)|".
162 "(?<=\[)\:(?:\:[a-f\d]{1,4})+(?=\])|".
163 "(?<==)\:(?:\:[a-f\d]{1,4})+(?=<)|".
165 "(?<=\s)(?:[a-f\d]{1,4}\:)+\:(?=\s)|".
166 "(?<=\[)(?:[a-f\d]{1,4}\:)+\:(?=\])|".
167 "(?<==)(?:[a-f\d]{1,4}\:)+\:(?=<)",
175 GESHI_SEARCH =>
"(?<=\s)[A-Z0-9\-\.]+(?==(?:$|\s$|[^\s=]))",
183 GESHI_SEARCH =>
"(?<=\s)(?:audio|application|image|multipart|text|".
184 "video|x-[a-z0-9\-]+)\/[a-z0-9][a-z0-9\-]*(?=\s|<|$)",
192 'SCRIPT_DELIMITERS' =>
array(
193 0 =>
"/(?P<start>^)[A-Za-z][a-zA-Z0-9\-]*\s*:\s*(?:.|(?=\n\s)\n)*(?P<end>$)/m" 195 'HIGHLIGHT_STRICT_BLOCK' =>
array(
199 'PARSER_CONTROL' =>
array(
202 'DISALLOWED_BEFORE' =>
'(?<=\A\x20|\n)',
203 'DISALLOWED_AFTER' =>
'(?=\s*:)',
206 'DISALLOWED_BEFORE' =>
'(?<=\A\x20|\n)',
207 'DISALLOWED_AFTER' =>
'(?=\s*:)',
210 'DISALLOWED_BEFORE' =>
'(?<=\s)',
211 'DISALLOWED_AFTER' =>
'(?=\s|\b)',
214 'ENABLE_FLAGS' =>
array(
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement...
const GESHI_SEARCH
The key of the regex array defining what to search for.
Create styles array
The data for the language used.
const GESHI_NEVER
#+ private
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
const GESHI_ALWAYS
Strict mode always applies.
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...