Skip to content

Escape characters are highlighted in character arrays #75

@goldrik

Description

@goldrik

Describe the bug
When initializing a raw string variable, escape characters (backslash + char) get highlighted by default. This occurs for character arrays (using single quotes), but not for strings (using double quotes).

For example, when defining a Windows path:
temp_path = '\\somedrive\path\to\right\folder\';
In this case, the escape characters \\, \r, \t, and \f characters would be highlighted.

If you do the same but with double quotations, the error does not occur. This is the expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions