In my practice I need to replace apostrophe with backslash and
apostrophe in string. I using String#gsub, but it has unpredictable
result in my own. That's I do in IRB to test my gsub call:
In my practice I need to replace apostrophe with backslash and
apostrophe in string. I using String#gsub, but it has unpredictable
result in my own. That's I do in IRB to test my gsub call: