Skip to content

Commit 4b815a7

Browse files
author
Corb3nik
committed
Quick fix on syntax highlighting to include double quotes
1 parent c0e78be commit 4b815a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opcache_disassembler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def syntax_highlight(self, line):
6767
line = re.sub("(!\d+)", colored('\\1', 'yellow'), line)
6868

6969
# Strings
70-
line = re.sub("'(.*)'", colored("'\\1'", 'blue'), line)
70+
line = re.sub("['\"](.+)['\"]", colored("'\\1'", 'blue'), line)
7171

7272
return line
7373

0 commit comments

Comments
 (0)