43 'LANG_NAME' =>
'eMail (mbox)',
44 'COMMENT_SINGLE' =>
array(),
45 'COMMENT_MULTI' =>
array(),
47 'QUOTEMARKS' =>
array(
'"'),
51 'HTTP',
'SMTP',
'ASMTP',
'ESMTP' 54 'Original-Recipient',
'Accept-Language',
'Alternate-Recipient',
55 'Archived-At',
'Authentication-Results',
'Auto-Submitted',
56 'Autoforwarded',
'Autosubmitted',
'Base',
'Comments',
57 'Content-Alternative',
'Content-Base',
'Content-Description',
58 'Content-Disposition',
'Content-Duration',
'Content-features',
59 'Content-ID',
'Content-Identifier',
'Content-Language',
60 'Content-Location',
'Content-MD5',
'Content-Return',
61 'Content-Transfer-Encoding',
'Content-Type',
'Conversion',
62 'Conversion-With-Loss',
'Deferred-Delivery',
'Delivery-Date',
63 'Discarded-X400-IPMS-Extensions',
'Discarded-X400-MTS-Extensions',
64 'Disclose-Recipients',
'Disposition-Notification-Options',
65 'Disposition-Notification-To',
'DKIM-Signature',
66 'DL-Expansion-History',
'Downgraded-Bcc',
'Downgraded-Cc',
67 'Downgraded-Disposition-Notification-To',
68 'Downgraded-Final-Recipient',
'Downgraded-From',
69 'Downgraded-In-Reply-To',
'Downgraded-Mail-From',
70 'Downgraded-Message-Id',
'Downgraded-Original-Recipient',
71 'Downgraded-Rcpt-To',
'Downgraded-References',
72 'Downgraded-Reply-To',
'Downgraded-Resent-Bcc',
73 'Downgraded-Resent-Cc',
'Downgraded-Resent-From',
74 'Downgraded-Resent-Reply-To',
'Downgraded-Resent-Sender',
75 'Downgraded-Resent-To',
'Downgraded-Return-Path',
76 'Downgraded-Sender',
'Downgraded-To',
'Encoding',
'Encrypted',
'Expires',
77 'Expiry-Date',
'Generate-Delivery-Report',
'Importance',
'In-Reply-To',
78 'Incomplete-Copy',
'Keywords',
'Language',
'Latest-Delivery-Time',
79 'List-Archive',
'List-Help',
'List-ID',
'List-Owner',
'List-Post',
80 'List-Subscribe',
'List-Unsubscribe',
'List-Unsubscribe-Post',
81 'Message-Context',
'Message-ID',
'Message-Type',
'MIME-Version',
82 'MMHS-Acp127-Message-Identifier',
'MMHS-Codress-Message-Indicator',
83 'MMHS-Copy-Precedence',
'MMHS-Exempted-Address',
84 'MMHS-Extended-Authorisation-Info',
'MMHS-Handling-Instructions',
85 'MMHS-Message-Instructions',
'MMHS-Message-Type',
86 'MMHS-Originator-PLAD',
'MMHS-Originator-Reference',
87 'MMHS-Other-Recipients-Indicator-CC',
88 'MMHS-Other-Recipients-Indicator-To',
'MMHS-Primary-Precedence',
89 'MMHS-Subject-Indicator-Codes',
'MT-Priority',
'Obsoletes',
90 'Organization',
'Original-Encoded-Information-Types',
'Original-From',
91 'Original-Message-ID',
'Original-Subject',
'Originator-Return-Address',
92 'PICS-Label',
'Prevent-NonDelivery-Report',
'Priority',
'Received',
93 'Received-SPF',
'References',
'Reply-By',
'Reply-To',
94 'Require-Recipient-Valid-Since',
'Resent-Bcc',
'Resent-Cc',
95 'Resent-Date',
'Resent-From',
'Resent-Message-ID',
'Resent-Reply-To',
96 'Resent-Sender',
'Resent-To',
'Return-Path',
'Sensitivity',
97 'Solicitation',
'Supersedes',
'VBR-Info',
'X400-Content-Identifier',
98 'X400-Content-Return',
'X400-Content-Type',
'X400-MTS-Identifier',
99 'X400-Originator',
'X400-Received',
'X400-Recipients',
'X400-Trace' 102 'Bcc',
'CC',
'Date',
'From',
'Sender',
'Subject',
'To' 105 'by',
'for',
'from',
'id',
'with' 109 ':',
';',
'<',
'>',
'[',
']' 111 'CASE_SENSITIVE' =>
array(
120 1 =>
'color: #0000FF; font-weight: bold;',
121 2 =>
'color: #000000; font-weight: bold;',
122 3 =>
'color: #800000; font-weight: bold;',
123 4 =>
'font-weight: bold;',
127 'ESCAPE_CHAR' =>
array(
128 0 =>
'color: #000099; font-weight: bold;' 131 0 =>
'color: #66cc66;' 134 0 =>
'color: #ff0000;' 137 0 =>
'color: #cc66cc;' 142 0 =>
'color: #66cc66;' 145 0 =>
'color: #000040;',
146 1 =>
'color: #002040;',
149 1 =>
'color: #000000; font-weight: bold;',
150 2 =>
'color: #0000FF;',
151 3 =>
'color: #008000;',
152 4 =>
'color: #0000FF; font-weight: bold;',
153 5 =>
'font-weight: bold;',
154 6 =>
'color: #400080;' 164 'OBJECT_SPLITTERS' =>
array(
169 GESHI_SEARCH =>
"(?<=\A\x20|\n)x-[a-z0-9\-]*(?=\s*:|\s*<)",
177 GESHI_SEARCH =>
"\b(?<!\\/)(?P<q>\"?)[\w\.\-]+\k<q>@(?!-)[\w\-]+(?<!-)(?:(?:\.(?!-)[\w\-]+(?<!-))*)?",
185 GESHI_SEARCH =>
"\b(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s+\d\d?\s+" .
186 "(?:Jan|Feb|Mar|apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+" .
187 "\d{4}\s+\d\d?:\d\d:\d\d\s+[+\-]\d{4}(?:\s+\(\w+\))?",
195 GESHI_SEARCH =>
"(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|".
196 "(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|".
197 "(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)|".
199 "(?<=\s)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\s)|".
200 "(?<=\[)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\])|".
201 "(?<==)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=<)|".
203 "(?<=\s)\:(?:\:[a-f\d]{1,4})+(?=\s)|".
204 "(?<=\[)\:(?:\:[a-f\d]{1,4})+(?=\])|".
205 "(?<==)\:(?:\:[a-f\d]{1,4})+(?=<)|".
207 "(?<=\s)(?:[a-f\d]{1,4}\:)+\:(?=\s)|".
208 "(?<=\[)(?:[a-f\d]{1,4}\:)+\:(?=\])|".
209 "(?<==)(?:[a-f\d]{1,4}\:)+\:(?=<)",
217 GESHI_SEARCH =>
"(?<=\s)[A-Z0-9\-\.]+(?==(?:$|\s$|[^\s=]))",
225 GESHI_SEARCH =>
"(?<=\s)(?:audio|application|image|multipart|text|".
226 "video|x-[a-z0-9\-]+)\/[a-z0-9][a-z0-9\-]*(?=\s|<|$)",
234 'SCRIPT_DELIMITERS' =>
array(
235 0 =>
"/(?P<start>^)[A-Za-z][a-zA-Z0-9\-]*\s*:\s*(?:.|(?=\n\s)\n)*(?P<end>$)/m",
236 1 =>
"/(?P<start>^)--[a-zA-Z0-9_=\-]+[a-zA-Z0-9_](?:--)?(?P<end>$)/m" 238 'HIGHLIGHT_STRICT_BLOCK' =>
array(
243 'PARSER_CONTROL' =>
array(
246 'DISALLOWED_BEFORE' =>
'(?<=\A\x20|\n)',
247 'DISALLOWED_AFTER' =>
'(?=\s*:)',
250 'DISALLOWED_BEFORE' =>
'(?<=\A\x20|\n)',
251 'DISALLOWED_AFTER' =>
'(?=\s*:)',
254 'DISALLOWED_BEFORE' =>
'(?<=\s)',
255 'DISALLOWED_AFTER' =>
'(?=\s|\b)',
258 '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...