Project

General

Profile

« Previous | Next » 

Revision b31965cb

Added by nobu (Nobuyoshi Nakada) over 10 years ago

string.c: fix for \K

  • string.c (str_gsub): use BEG(0) for whole matched position not
    return value from rb_reg_search(), for \K matching.
    [ruby-dev:47694] [Bug #8856]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e