Unverified Commit 34f68d01 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4795 from shuujii/remove-documents-about-Regexp-argument-from-string

Remove documents about `Regexp` argument from `String#{[],[]=}` [ci skip]
parents 552bd9da 23cb78a0
...@@ -1228,8 +1228,6 @@ mrb_str_aref(mrb_state *mrb, mrb_value str, mrb_value indx, mrb_value alen) ...@@ -1228,8 +1228,6 @@ mrb_str_aref(mrb_state *mrb, mrb_value str, mrb_value indx, mrb_value alen)
* str[fixnum] => fixnum or nil * str[fixnum] => fixnum or nil
* str[fixnum, fixnum] => new_str or nil * str[fixnum, fixnum] => new_str or nil
* str[range] => new_str or nil * str[range] => new_str or nil
* str[regexp] => new_str or nil
* str[regexp, fixnum] => new_str or nil
* str[other_str] => new_str or nil * str[other_str] => new_str or nil
* str.slice(fixnum) => fixnum or nil * str.slice(fixnum) => fixnum or nil
* str.slice(fixnum, fixnum) => new_str or nil * str.slice(fixnum, fixnum) => new_str or nil
...@@ -1437,8 +1435,6 @@ mrb_str_aset(mrb_state *mrb, mrb_value str, mrb_value indx, mrb_value alen, mrb_ ...@@ -1437,8 +1435,6 @@ mrb_str_aset(mrb_state *mrb, mrb_value str, mrb_value indx, mrb_value alen, mrb_
* str[fixnum] = replace * str[fixnum] = replace
* str[fixnum, fixnum] = replace * str[fixnum, fixnum] = replace
* str[range] = replace * str[range] = replace
* str[regexp] = replace
* str[regexp, fixnum] = replace
* str[other_str] = replace * str[other_str] = replace
* *
* Modify +self+ by replacing the content of +self+. * Modify +self+ by replacing the content of +self+.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment