Skip to content

b"\\\\" == b"\\", is this intended? #46243

@jakobnissen

Description

@jakobnissen

Currently, we have

julia> b"\\\\" == b"\\"
true

Which I can't understand. Something adjecant is mentioned in the manual here: https://docs.julialang.org/en/v1/manual/strings/#man-raw-string-literals,
but this does not really cover why length(b"\\\\") == 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorstrings"Strings!"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions