Project

General

Profile

« Previous | Next » 

Revision e79cdcf6

Added by hanazuki (Kasumi Hanazuki) almost 5 years ago

string.c(rb_str_split_m): Handle /\K/ correctly

Use BEG(0) instead of the result of rb_reg_search to handle the cases
when the separator Regexp contains /\K/ (lookbehind) operator.

Fixes [Bug #17113]