From: thiaguerd@... Date: 2019-08-09T22:47:39+00:00 Subject: [ruby-core:94233] [Ruby master Bug#16091] gsub Issue #16091 has been updated by thiaguerd (thiago feitosa). shyouhei (Shyouhei Urabe) wrote: > Really sorry that I have to say I don't understand this report at all. Please tell us about your problem a bit more in detail. the replacement doesn't happen try in python and see the diff ``` a = "test ?" b = "?" c = "\\&" a.replace(b,c) ``` ---------------------------------------- Bug #16091: gsub https://bugs.ruby-lang.org/issues/16091#change-80539 * Author: thiaguerd (thiago feitosa) * Status: Feedback * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- ```ruby a = "test ?" b = "?" c = "\\&" a.gsub(b,c) ``` -- https://bugs.ruby-lang.org/ Unsubscribe: