Skip to content

Escape sequences in the REPL #5294

Closed
Closed
@allanrenucci

Description

@allanrenucci
scala> "\\A"                                                                                                                                                                                                    
1 |"\A"
  |  ^
  |  invalid escape character

scala> "\A"
val res0: String = A

First one should not be rejected. Second one should.

I suspect JLine is doing something funny

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions