Skip to content

Commit dd8f056

Browse files
author
bcrotty
committed
Update PowershellSyntax.tmLanguage
This now does not allow ```<```, ```>```, ```"```, ```/```, ```|```, ```?```, or ```*``` in the path.
1 parent f23d507 commit dd8f056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Support/PowershellSyntax.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
</dict>
233233
<dict>
234234
<key>match</key>
235-
<string>(?i:\S+)(?i:\.(?:exe|cmd|bat|ps1))</string>
235+
<string>(?i:(\S&&[^<>"/\|?*])+)(?i:\.(?:exe|cmd|bat|ps1))</string>
236236
<key>name</key>
237237
<string>support.function.powershell</string>
238238
</dict>

0 commit comments

Comments
 (0)