50 'LANG_NAME' =>
'PowerShell',
51 'COMMENT_SINGLE' =>
array(1 =>
'#'),
52 'COMMENT_MULTI' =>
array(
'<#' =>
'#>'),
54 'QUOTEMARKS' =>
array(
"'",
'"'),
59 'Add-Content',
'Add-History',
'Add-Member',
'Add-PSSnapin',
'Clear-Content',
'Clear-Item',
60 'Clear-ItemProperty',
'Clear-Variable',
'Compare-Object',
'ConvertFrom-SecureString',
61 'Convert-Path',
'ConvertTo-Html',
'ConvertTo-SecureString',
'Copy-Item',
'Copy-ItemProperty',
62 'Export-Alias',
'Export-Clixml',
'Export-Console',
'Export-Csv',
'ForEach-Object',
63 'Format-Custom',
'Format-List',
'Format-Table',
'Format-Wide',
'Get-Acl',
'Get-Alias',
64 'Get-AuthenticodeSignature',
'Get-ChildItem',
'Get-Command',
'Get-Content',
'Get-Credential',
65 'Get-Culture',
'Get-Date',
'Get-EventLog',
'Get-ExecutionPolicy',
'Get-Help',
'Get-History',
66 'Get-Host',
'Get-Item',
'Get-ItemProperty',
'Get-Location',
'Get-Member',
67 'Get-PfxCertificate',
'Get-Process',
'Get-PSDrive',
'Get-PSProvider',
'Get-PSSnapin',
68 'Get-Service',
'Get-TraceSource',
'Get-UICulture',
'Get-Unique',
'Get-Variable',
69 'Get-WmiObject',
'Group-Object',
'Import-Alias',
'Import-Clixml',
'Import-Csv',
70 'Invoke-Expression',
'Invoke-History',
'Invoke-Item',
'Join-Path',
'Measure-Command',
71 'Measure-Object',
'Move-Item',
'Move-ItemProperty',
'New-Alias',
'New-Item',
72 'New-ItemProperty',
'New-Object',
'New-PSDrive',
'New-Service',
'New-TimeSpan',
73 'New-Variable',
'Out-Default',
'Out-File',
'Out-Host',
'Out-Null',
'Out-Printer',
74 'Out-String',
'Pop-Location',
'Push-Location',
'Read-Host',
'Remove-Item',
75 'Remove-ItemProperty',
'Remove-PSDrive',
'Remove-PSSnapin',
'Remove-Variable',
'Rename-Item',
76 'Rename-ItemProperty',
'Resolve-Path',
'Restart-Service',
'Resume-Service',
'Select-Object',
77 'Select-String',
'Set-Acl',
'Set-Alias',
'Set-AuthenticodeSignature',
'Set-Content',
78 'Set-Date',
'Set-ExecutionPolicy',
'Set-Item',
'Set-ItemProperty',
'Set-Location',
79 'Set-PSDebug',
'Set-Service',
'Set-TraceSource',
'Set-Variable',
'Sort-Object',
'Split-Path',
80 'Start-Service',
'Start-Sleep',
'Start-Transcript',
'Stop-Process',
'Stop-Service',
81 'Stop-Transcript',
'Suspend-Service',
'Tee-Object',
'Test-Path',
'Trace-Command',
82 'Update-FormatData',
'Update-TypeData',
'Where-Object',
'Write-Debug',
'Write-Error',
83 'Write-Host',
'Write-Output',
'Write-Progress',
'Write-Verbose',
'Write-Warning' 87 'ac',
'asnp',
'clc',
'cli',
'clp',
'clv',
'cpi',
'cpp',
'cvpa',
'diff',
'epal',
'epcsv',
'fc',
88 'fl',
'ft',
'fw',
'gal',
'gc',
'gci',
'gcm',
'gdr',
'ghy',
'gi',
'gl',
'gm',
89 'gp',
'gps',
'group',
'gsv',
'gsnp',
'gu',
'gv',
'gwmi',
'iex',
'ihy',
'ii',
'ipal',
'ipcsv',
90 'mi',
'mp',
'nal',
'ndr',
'ni',
'nv',
'oh',
'rdr',
'ri',
'rni',
'rnp',
'rp',
'rsnp',
'rv',
91 'rvpa',
'sal',
'sasv',
'sc',
'select',
'si',
'sl',
'sleep',
'sort',
'sp',
'spps',
'spsv',
'sv',
92 'tee',
'write',
'cat',
'cd',
'clear',
'cp',
'h',
'history',
'kill',
'lp',
'ls',
93 'mount',
'mv',
'popd',
'ps',
'pushd',
'pwd',
'r',
'rm',
'rmdir',
'echo',
'cls',
'chdir',
94 'copy',
'del',
'dir',
'erase',
'move',
'rd',
'ren',
'set',
'type' 98 'break',
'continue',
'do',
'for',
'foreach',
'while',
'if',
'switch',
'until',
'where',
99 'function',
'filter',
'else',
'elseif',
'in',
'return',
'param',
'throw',
'trap' 103 '-eq',
'-ne',
'-gt',
'-ge',
'-lt',
'-le',
'-ieq',
'-ine',
'-igt',
'-ige',
'-ilt',
'-ile',
104 '-ceq',
'-cne',
'-cgt',
'-cge',
'-clt',
'-cle',
'-like',
'-notlike',
'-match',
'-notmatch',
105 '-ilike',
'-inotlike',
'-imatch',
'-inotmatch',
'-clike',
'-cnotlike',
'-cmatch',
'-cnotmatch',
106 '-contains',
'-notcontains',
'-icontains',
'-inotcontains',
'-ccontains',
'-cnotcontains',
107 '-isnot',
'-is',
'-as',
'-replace',
'-ireplace',
'-creplace',
'-and',
'-or',
'-band',
'-bor',
108 '-not',
'-bnot',
'-f',
'-casesensitive',
'-exact',
'-file',
'-regex',
'-wildcard' 112 '-Year',
'-Wrap',
'-Word',
'-Width',
'-WhatIf',
'-Wait',
'-View',
'-Verbose',
'-Verb',
113 '-Variable',
'-ValueOnly',
'-Value',
'-Unique',
'-UFormat',
'-TypeName',
'-Trace',
'-TotalCount',
114 '-Title',
'-TimestampServer',
'-TargetObject',
'-Syntax',
'-SyncWindow',
'-Sum',
'-String',
115 '-Strict',
'-Stream',
'-Step',
'-Status',
'-Static',
'-StartupType',
'-Start',
'-StackName',
116 '-Stack',
'-SourceId',
'-SimpleMatch',
'-ShowError',
'-Separator',
'-SecureString',
'-SecureKey',
117 '-SecondValue',
'-SecondsRemaining',
'-Seconds',
'-Second',
'-Scope',
'-Root',
'-Role',
118 '-Resolve',
'-RemoveListener',
'-RemoveFileListener',
'-Registered',
'-ReferenceObject',
119 '-Recurse',
'-RecommendedAction',
'-ReadCount',
'-Quiet',
'-Query',
'-Qualifier',
'-PSSnapin',
120 '-PSProvider',
'-PSHost',
'-PSDrive',
'-PropertyType',
'-Property',
'-Prompt',
'-Process',
121 '-PrependPath',
'-PercentComplete',
'-Pattern',
'-PathType',
'-Path',
'-PassThru',
'-ParentId',
122 '-Parent',
'-Parameter',
'-Paging',
'-OutVariable',
'-OutBuffer',
'-Option',
'-OnType',
'-Off',
123 '-Object',
'-Noun',
'-NoTypeInformation',
'-NoQualifier',
'-NoNewline',
'-NoElement',
124 '-NoClobber',
'-NewName',
'-Newest',
'-Namespace',
'-Name',
'-Month',
'-Minutes',
'-Minute',
125 '-Minimum',
'-Milliseconds',
'-Message',
'-MemberType',
'-Maximum',
'-LogName',
'-LiteralPath',
126 '-LiteralName',
'-ListenerOption',
'-List',
'-Line',
'-Leaf',
'-Last',
'-Key',
'-ItemType',
127 '-IsValid',
'-IsAbsolute',
'-InputObject',
'-IncludeEqual',
'-IncludeChain',
'-Include',
128 '-IgnoreWhiteSpace',
'-Id',
'-Hours',
'-Hour',
'-HideTableHeaders',
'-Head',
'-GroupBy',
129 '-Functionality',
'-Full',
'-Format',
'-ForegroundColor',
'-Force',
'-First',
'-FilterScript',
130 '-Filter',
'-FilePath',
'-Expression',
'-ExpandProperty',
'-Expand',
'-ExecutionPolicy',
131 '-ExcludeProperty',
'-ExcludeDifferent',
'-Exclude',
'-Exception',
'-Examples',
'-ErrorVariable',
132 '-ErrorRecord',
'-ErrorId',
'-ErrorAction',
'-End',
'-Encoding',
'-DisplayName',
'-DisplayHint',
133 '-DisplayError',
'-DifferenceObject',
'-Detailed',
'-Destination',
'-Description',
'-Descending',
134 '-Depth',
'-DependsOn',
'-Delimiter',
'-Debugger',
'-Debug',
'-Days',
'-Day',
'-Date',
135 '-CurrentOperation',
'-Culture',
'-Credential',
'-Count',
'-Container',
'-Confirm',
136 '-ComputerName',
'-Component',
'-Completed',
'-ComObject',
'-CommandType',
'-Command',
137 '-Column',
'-Class',
'-ChildPath',
'-Character',
'-Certificate',
'-CategoryTargetType',
138 '-CategoryTargetName',
'-CategoryReason',
'-CategoryActivity',
'-Category',
'-CaseSensitive',
139 '-Body',
'-BinaryPathName',
'-Begin',
'-BackgroundColor',
'-Average',
'-AutoSize',
'-Audit',
140 '-AsString',
'-AsSecureString',
'-AsPlainText',
'-As',
'-ArgumentList',
'-AppendPath',
'-Append',
141 '-Adjust',
'-Activity',
'-AclObject' 144 '_',
'args',
'DebugPreference',
'Error',
'ErrorActionPreference',
145 'foreach',
'Home',
'Host',
'Input',
'LASTEXITCODE',
'MaximumAliasCount',
146 'MaximumDriveCount',
'MaximumFunctionCount',
'MaximumHistoryCount',
147 'MaximumVariableCount',
'OFS',
'PsHome',
148 'ReportErrorShowExceptionClass',
'ReportErrorShowInnerException',
149 'ReportErrorShowSource',
'ReportErrorShowStackTrace',
150 'ShouldProcessPreference',
'ShouldProcessReturnPreference',
151 'StackTrace',
'VerbosePreference',
'WarningPreference',
'PWD' 155 '(',
')',
'[',
']',
'{',
'}',
'=',
'<',
'>',
'@',
'|',
'&',
',',
'?',
156 '+=',
'-=',
'*=',
'/=',
'%=',
'*',
'/',
'%',
'!',
'+',
'-',
'++',
'--' 158 'CASE_SENSITIVE' =>
array(
169 1 =>
'color: #008080; font-weight: bold;',
170 2 =>
'color: #008080; font-weight: bold;',
171 3 =>
'color: #0000FF;',
172 4 =>
'color: #FF0000;',
173 5 =>
'color: #008080; font-style: italic;',
174 6 =>
'color: #000080;' 177 1 =>
'color: #008000;',
178 'MULTI' =>
'color: #008000;' 180 'ESCAPE_CHAR' =>
array(
181 0 =>
'color: #008080; font-weight: bold;' 184 0 =>
'color: #000000;' 187 0 =>
'color: #800000;' 190 0 =>
'color: #804000;' 199 0 =>
'color: #800080;',
200 3 =>
'color: #008080;',
201 4 =>
'color: #008080;',
202 5 =>
'color: #800000;',
203 6 =>
'color: #000080;' 217 'OBJECT_SPLITTERS' =>
array(
222 GESHI_SEARCH =>
'(\[)(int|long|string|char|bool|byte|double|decimal|float|single|regex|array|xml|scriptblock|switch|hashtable|type|ref|psobject|wmi|wmisearcher|wmiclass|object)((\[.*\])?\])',
230 GESHI_SEARCH =>
'(\[)(System\.Reflection\.Assembly|System\.Net\.CredentialCache|Microsoft\.SharePoint\.SPFileLevel|Microsoft\.SharePoint\.Publishing\.PublishingWeb|Microsoft\.SharePoint\.Publishing|Microsoft\.SharePoint\.SPWeb)(\])',
239 GESHI_SEARCH =>
'(::)(ReflectionOnlyLoadFrom|ReflectionOnlyLoad|ReferenceEquals|LoadWithPartialName|LoadFrom|LoadFile|Load|GetExecutingAssembly|GetEntryAssembly|GetCallingAssembly|GetAssembly|Equals|DefaultNetworkCredentials|DefaultCredentials|CreateQualifiedName|Checkout|Draft|Published|IsPublishingWeb)',
257 0 =>
"(?<!\\\$|>)[\\\$](\w+)(?=[^|\w])",
260 'SCRIPT_DELIMITERS' =>
array(
262 'HIGHLIGHT_STRICT_BLOCK' =>
array(
264 'PARSER_CONTROL' =>
array(
267 'DISALLOWED_AFTER' =>
'(?![a-zA-Z])',
268 'DISALLOWED_BEFORE' =>
'' 271 'DISALLOWED_BEFORE' =>
'(?<!\$>)\$' 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_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...