Skip to content

Commit 34c12b0

Browse files
committed
First go at raw fstrings and other prefix combos.
We still treat 'r' raw-strings as regular expressions, even with the 'rf' prefix.
1 parent be94a77 commit 34c12b0

14 files changed

+1040
-144
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ special highlighting for it, raw and unicode strings do). Additionally, the
144144
highlighter also validates that the formatting is following the correct syntax.
145145
It can help noticing an error in complex formatting expressions early.
146146

147+
Python 3.6 f-strings are supported in both the raw and regular
148+
flavors. The support for them is somewhat more powerful than what can
149+
be done in regular strings with `.format`, because the f-string spec
150+
allows to highlight them with less ambiguity.
151+
147152

148153
### Numeric literals
149154

0 commit comments

Comments
 (0)