Skip to content

Commit ce064b5

Browse files
committed
Added double quotes to string regex
1 parent bb11dc2 commit ce064b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const highlighters = [
3838
},
3939
{
4040
name: 'string',
41-
regex: /(['`].*?['`])/g
41+
regex: /(["'`].*?["'`])/g
4242
},
4343
{
4444
name: 'bracket',

0 commit comments

Comments
 (0)