Skip to content

Python highlighting doesn't respect escaped single-quotes in single-quote string. #62

@mwchase

Description

@mwchase

When I have a string like 'It\'s a beautiful day!', the entire string should get the string highlighting. Instead, it considers everything after the \' as not a string, and therefore normal highlighting, until it gets to the closing ', at which point it thinks the non-string characters after it are a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions