Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String interpolation issue #2971

Closed
benjaminpmeier opened this issue May 22, 2015 · 1 comment
Closed

String interpolation issue #2971

benjaminpmeier opened this issue May 22, 2015 · 1 comment

Comments

@benjaminpmeier
Copy link

I made a ruby file with the following contents:
regex = /[#$]/
puts "Successfully parsed regex"

benjamm.desktop% ruby regex_test.rb
Successfully parsed regex

benjamm.desktop% jruby regex_test.rb
SyntaxError: regex_test.rb:1: syntax error, unexpected null
regex = /[#$]/

I am using JRuby version:
jruby 1.7.11 (1.9.3p392) 2015-04-17 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14 +indy [linux-amd64]

@mkristian
Copy link
Member

it works with jruby-1.7.20

@enebo enebo added this to the Invalid or Duplicate milestone Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants