[ruby-core:94223] [Ruby master Bug#16091] gsub

From: shyouhei@...
Date: 2019-08-09 14:30:10 UTC
List: ruby-core #94223
Issue #16091 has been updated by shyouhei (Shyouhei Urabe).


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.

----------------------------------------
Bug #16091: gsub
https://bugs.ruby-lang.org/issues/16091#change-80522

* 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next