Actions
Bug #8136
closedgsub strange behavior when substituting "\\'"
Bug #8136:
gsub strange behavior when substituting "\\'"
Description
=begin
s = "\'" # => "\'"
print s # '
"foo".gsub("f", s) # => "oooo"
Can anybody please explain to me why it works like this? Is this a bug?
=end
Actions