Skip to content

Commit

Permalink
[ci skip] Remove some Srting#split samples
Browse files Browse the repository at this point in the history
mruby not support regexp, so remove these samples.
  • Loading branch information
yui-knk committed Jun 19, 2015
1 parent 40e4694 commit d1e6d64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/string.c
Expand Up @@ -1714,10 +1714,8 @@ mrb_str_rindex_m(mrb_state *mrb, mrb_value str)
* " now's the time".split #=> ["now's", "the", "time"]
* " now's the time".split(' ') #=> ["now's", "the", "time"]
* " now's the time".split(/ /) #=> ["", "now's", "", "the", "time"]
* "1, 2.34,56, 7".split(%r{,\s*}) #=> ["1", "2.34", "56", "7"]
* "hello".split(//) #=> ["h", "e", "l", "l", "o"]
* "hello".split(//, 3) #=> ["h", "e", "llo"]
* "hi mom".split(%r{\s*}) #=> ["h", "i", "m", "o", "m"]
*
* "mellow yellow".split("ello") #=> ["m", "w y", "w"]
* "1,2,,3,4,,".split(',') #=> ["1", "2", "", "3", "4"]
Expand Down

0 comments on commit d1e6d64

Please sign in to comment.