mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00: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:
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>
|
||||
|
|
Loading…
Reference in a new issue