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#tr different behavior as compared to MRI Ruby #3425

Closed
tgxworld opened this issue Oct 25, 2015 · 1 comment
Closed

String#tr different behavior as compared to MRI Ruby #3425

tgxworld opened this issue Oct 25, 2015 · 1 comment
Milestone

Comments

@tgxworld
Copy link

JRuby-9.0.3.0

irb(main):001:0> "5".tr('^0-9', "_")
=> "_"

MRI 2.2.3

irb(main):001:0> "5".tr('^0-9', "_")
=> "5"
@tgxworld tgxworld changed the title String#tr different behavior against MRI Ruby String#tr different behavior as compared to MRI Ruby Oct 25, 2015
@lopex lopex closed this as completed in 9f33263 Oct 28, 2015
@tgxworld
Copy link
Author

Thanks @lopex!

@enebo enebo added this to the JRuby 9.0.4.0 milestone Nov 12, 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

2 participants