Replace “&” to “\&” in Ruby seems impossible?

前端 未结 3 890
孤独总比滥情好
孤独总比滥情好 2020-12-10 19:36

I want to replace all & characters into \\& with String.gsub (or a other method). I\'ve tried several combinations and read an

3条回答
提交回复
热议问题