File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 240240 </dict >
241241 <dict >
242242 <key >match </key >
243- <string >(?i:([\S && [^ <> "/\|?*]]) +)(?i:\.(?i:exe|cmd|bat|ps1)) </string >
243+ <string >(?i:[a-z][a-z0-9]+-?[a-z][a-z0-9] +)(?i:\.(?i:exe|cmd|bat|ps1)) </string >
244244 <key >name </key >
245245 <string >support.function.powershell </string >
246246 </dict >
Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ function Get-MemberSignature {
5555 }
5656}
5757
58+ foo " $ ( x) .exe"
59+
5860function echo ([string ]$text ) {
5961 write-host $text
6062}
6163
64+ $file = join-path $env: SystemDrive " $ ( [System.io.path ]::GetRandomFileName()) .ps1"
65+ $ScriptBlock | Out-File $file - Force
66+
6267# declarations should be consistent
6368function foo.bar () {}
6469Function foo () {}
You can’t perform that action at this time.
0 commit comments