Actions
Bug #17110
closedString.tr unexpected behaviour with backslash
Bug #17110:
String.tr unexpected behaviour with backslash
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
Description
"\\".tr("\\","A") works great, with "\\" becoming "A".
"\\".tr("\\C","AB") should also output "A", but instead outputs "\\".
Actions