Skip to content

Commit 4d84c1a

Browse files
Merge pull request #1 from MarlonRodriguez/MarlonRodriguez-patch-1
Update brush-powershell.js
2 parents 8216042 + 3ccf41f commit 4d84c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/brush-powershell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
{ regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // double quoted here-strings
3939
{ regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, // single quoted here-strings
40-
{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, // double quoted strings
40+
{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`"]?"','g'), css: 'string' }, // double quoted strings
4141
{ regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quoted strings
4242

4343
{ regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'variable' }, // $variables

0 commit comments

Comments
 (0)