Skip to content

Modernize does not update the syntax when raw string is used together with unicode literal #260

Open
@lohxx

Description

@lohxx
REX_SANITIZE = re.compile(ur'[\'"]')

The above statement throws a SyntaxError, how can we fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions