Files
mruby-mruby/include/mruby
KOBAYASHI Shuji 75df13a973 Fix String#byteslice with MRB_UTF8_STRING and some edge cases
Example:

  $ bin/mruby -e '
    p "あa".byteslice(1)
    p "bar".byteslice(3)
    p "bar".byteslice(4..0)
  '

  Before this patch:

    "a"
    ""
    RangeError (4..0 out of range)

  After this patch (same as Ruby):

    "\x81"
    nil
    nil
2019-06-25 23:09:23 +09:00
..
2018-12-18 23:05:36 +09:00
2017-10-11 17:58:11 +09:00
2019-06-04 21:41:40 +09:00
2018-12-18 23:05:36 +09:00
2019-04-26 21:28:57 +09:00