MatchData with range
zzak opened this issue · 0 comments
zzak commented
Would it be possible to support ranges?
For example, in URI we can split the parts with destructuring assignment:
scheme, host, port, path, query = $~[1..-1]However, this will result in invalid MatchData index type: 1..-1 in mruby.