Fix escaping of ' in single quote python strings
This commit is contained in:
parent
80b50cd737
commit
dc5742cf20
|
@ -19,7 +19,7 @@ addhl -group / regions -default code python \
|
|||
double_string '"""' '"""' '' \
|
||||
single_string "'''" "'''" '' \
|
||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||
single_string "'" "'" '' \
|
||||
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||
comment '#' '$' ''
|
||||
|
||||
addhl -group /python/double_string fill string
|
||||
|
|
Loading…
Reference in New Issue
Block a user