From d1e6d647bd3a91d58567657471f3d945836cde85 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Fri, 19 Jun 2015 20:34:32 +0900 Subject: [ci skip] Remove some Srting#split samples mruby not support regexp, so remove these samples. --- src/string.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index 16e7f9ffd..e3a359b49 100644 --- a/src/string.c +++ b/src/string.c @@ -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"] -- cgit v1.2.3