Fix escaping of ' in single quote python strings

This commit is contained in:
Maxime Coste 2014-11-05 21:02:06 +00:00
parent 80b50cd737
commit dc5742cf20

View File

@ -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