Skip to content

String literal difference from MRI #5052

@bobjalex

Description

@bobjalex

Environment

Running on Windows 10

>jruby -v
jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) 64-Bit Server VM 9.0.4+11 on 9.0.4+11 +jit [mswin32-x86_64]
>systeminfo
Host Name:                 BOB-ACER-SWIFT-
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.16299 N/A Build 16299
...

Expected Behavior

>irb
irb(main):001:0> "#@"
=> "\#@"

Actual Behavior

>jirb
irb(main):001:0> "#@"
=> "@"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions