Fix a bug in highlights.scm in language-python

This commit is contained in:
Andrew Dupont 2023-04-25 17:46:16 -07:00
parent d573392b38
commit 883109cc46

View File

@ -1,6 +1,6 @@
; TODO
; ====
;
;
; * numbers: hex, octal, binary, and log versions of each
; * long integers
; * complex numbers
@ -195,7 +195,7 @@
(#match? @string.quoted.double.single-line.format.python "^[fF][rR]?\""))
((string) @string.quoted.single.single-line.python
(#match? @string.quoted.single.single-line.python "^[bBrRuU*]\'"))
(#match? @string.quoted.single.single-line.python "^[bBrRuU]*\'"))
((string) @string.quoted.single.single-line.format.python
(#match? @string.quoted.single.single-line.format.python "^[fF][rR]?\'"))