Skip to content

Escape character text #5

@afs

Description

@afs

The doc says:

"""
Literals delimited by ' (U+0027), may not contain the characters ', LF (U+000A), or CR (U+000D).
Literals delimited by ", may not contain the characters ", LF, or CR.
Literals delimited by ''' may not contain the sequence of characters '''.
Literals delimited by """ may not contain the sequence of characters """.
"""

It should say

"""
Literals delimited by ' (U+0027), may not contain an unescaped ' character, ...
"""

or

"""
Literals delimited by ' (U+0027) must use an escape sequence to include the ' character,
"""

Similarly for "-strings and for triple quoted strings (\''' is possible).

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