756756 <key >controlWords </key >
757757 <dict >
758758 <key >match </key >
759- <string >(\b(?< !-|\$)(?i:begin|exit|break|return|catch|finally|for|continue|foreach|throw|from|trap|try|do|if|until|in|using|else|elseif|while|end|where)\b(?!-|\.)) </string >
759+ <string >(\b(?< !-|\$)(?i:begin|process| exit|break|return|catch|finally|for|continue|foreach|throw|from|trap|try|do|if|until|in|using|else|elseif|while|end|where)\b(?!-|\.)) </string >
760760 <key >name </key >
761761 <string >keyword.control.powershell </string >
762762 </dict >
10721072 <key >reservedWords </key >
10731073 <dict >
10741074 <key >match </key >
1075- <string >(\b(?< !-|\$)(?i:configuration|node|process| enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.)) </string >
1075+ <string >(\b(?< !-|\$)(?i:configuration|node|enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.)) </string >
10761076 <key >name </key >
10771077 <string >keyword.other.powershell </string >
10781078 </dict >
13711371 <key >comment </key >
13721372 <string >Reserved words within [( )] </string >
13731373 <key >match </key >
1374- <string >\b(?i)(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|positionalbinding|helpuri|confirmimpact)\b </string >
1374+ <string >\b(?i)(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|positionalbinding|helpuri|confirmimpact|helpmessage )\b </string >
13751375 <key >name </key >
13761376 <string >entity.other.attribute-name.powershell </string >
13771377 </dict >
14231423 <key >comment </key >
14241424 <string >Automatic variables - read-only. </string >
14251425 <key >match </key >
1426- <string >(\$)(?i:(_|args|consolefilename|error|event|eventsubscriber|executioncontext|false|foreach|home|host|input|lastexitcode|matches|myinvocation|nestedpromptlevel|null|pid|psboundparameters|pscmdlet|psculture|psdebugcontext|pshome|psitem|psscriptroot|psuiculture|psversiontable|pwd|sender|shellid|sourceargs|sourceeventargs|switch|this|true))\b((\.[\w"']+)*) </string >
1426+ <string >(\$)(?i:(_|args|consolefilename|error|event|eventsubscriber|executioncontext|false|foreach|home|host|input|lastexitcode|matches|myinvocation|nestedpromptlevel|null|pid|psboundparameters|pscmdlet|psculture|psdebugcontext|pshome|psitem|psscriptroot|psuiculture|psversiontable|pwd|sender|shellid|sourceargs|sourceeventargs|switch|this|true))\b((\.[\w"'\- @# ]+)*) </string >
14271427 </dict >
14281428 <dict >
14291429 <key >captures </key >
14571457 <key >comment </key >
14581458 <string >$var, $local:var </string >
14591459 <key >match </key >
1460- <string >(\$)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(\w+)(:\w+)?((\.[\w"']+)*) </string >
1460+ <string >(\$)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(\w+)(:\w+)?((\.[\w"'\- @# ]+)*) </string >
14611461 </dict >
14621462 <dict >
14631463 <key >captures </key >
14961496 <key >comment </key >
14971497 <string >${var}, ${script:var} </string >
14981498 <key >match </key >
1499- <string >(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+)(\})((\.[\w"']+)*) </string >
1499+ <string >(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+? )(\})((\.[\w"'\- @# ]+)*) </string >
15001500 </dict >
15011501 <dict >
15021502 <key >captures </key >
16111611 <key >comment </key >
16121612 <string >${var}, ${script:var} </string >
16131613 <key >match </key >
1614- <string >(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+)(\}) </string >
1614+ <string >(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+? )(\}) </string >
16151615 </dict >
16161616 <dict >
16171617 <key >captures </key >
16401640 <key >uuid </key >
16411641 <string >f8f5ffb0-503e-11df-9879-0800200c9a66 </string >
16421642</dict >
1643- </plist >
1643+ </plist >
0 commit comments