1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* string.c (str_gsub): should preserve last successful match

data.  [ruby-dev:35182]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-06-19 17:11:55 +00:00
parent e929f49e56
commit 5336cbdfd3
3 changed files with 22 additions and 19 deletions

View file

@ -392,6 +392,5 @@ assert_equal 'ok', %q{
f = Foo.new
a_proc = give_it
p :call_it
f.call_it(&give_it())
}, '[ruby-core:15711]'