Skip to content

Commit 516206f

Browse files
authored
Update Lib/idlelib/colorizer.py
1 parent f64a65b commit 516206f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/colorizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def make_pat():
4747
name not in keyword.kwlist]
4848
builtin = r"([^.'\"\\#]\b|^)" + any("BUILTIN", builtinlist) + r"\b"
4949
comment = any("COMMENT", [r"#[^\n]*"])
50-
stringprefix = r"(?i:r|u|f|t|fr|rf|b|br|rb|rt|tr)?"
50+
stringprefix = r"(?i:r|u|f|fr|rf|b|br|rb|t|rt|tr)?"
5151
sqstring = stringprefix + r"'[^'\\\n]*(\\.[^'\\\n]*)*'?"
5252
dqstring = stringprefix + r'"[^"\\\n]*(\\.[^"\\\n]*)*"?'
5353
sq3string = stringprefix + r"'''[^'\\]*((\\.|'(?!''))[^'\\]*)*(''')?"

0 commit comments

Comments
 (0)