Wrong highlight for raw string · Issue #259 · MagicStack/MagicPython
Repository navigation
Wrong highlight for raw string #259
New issue
New issue
Open
Open
Wrong highlight for raw string #259
Description
@alexr00's profile alexr00 opened on Aug 16, 2023- Editor name and version : VS Code 1.81.1
- Platform : any
- Color scheme : any
- MagicPython version : 7d0f2b2
- A sreenshot :
Expected
Actual: The \ of a raw string is the \ and not the escape character, but the hignlight still treats them as escapes.
- 5-10 lines of surrounding code :
print(r"C:\Users\test")
Originally from @AuroraTea in microsoft/vscode#190519
Reacted by Rob Parker, Aurik Sarker, Gilberto Agostinho, Tomokazu Katayama, DetachHead and Alf Frank