mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
* Fix #24971. Change regular expression in PowerShell extension syntax highlighting to properly highlight .bat and .exe files * Fixed error that would include whitespace or other chars Changed regex to correctly identify a . instead of any character.
This commit is contained in:
committed by
Matt Bierner
parent
80f1291f7a
commit
da6cbf05e7
@@ -240,7 +240,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?i:[a-z][a-z0-9]+-?[a-z][a-z0-9]+)(?i:\.(?i:exe|cmd|bat|ps1))</string>
|
||||
<string>(\b(([A-Za-z0-9\-_\.]+)\.(?i:exe|com|cmd|bat))\b)</string>
|
||||
<key>name</key>
|
||||
<string>support.function.powershell</string>
|
||||
</dict>
|
||||
@@ -1183,4 +1183,4 @@
|
||||
<key>uuid</key>
|
||||
<string>f8f5ffb0-503e-11df-9879-0800200c9a66</string>
|
||||
</dict>
|
||||
</plist>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user