diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-04 02:13:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-04 02:13:42 +0000 |
commit | b31965cb43e8f6117435acf6f676cb9a4417afff (patch) | |
tree | 802956e420049a68d2ebded387ed25290399df0a /ChangeLog | |
parent | 90cbcbe68b148ae929610ca85afd5c3318216d4d (diff) | |
download | ruby-b31965cb43e8f6117435acf6f676cb9a4417afff.tar.gz |
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
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Sep 4 11:13:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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] + Wed Sep 4 11:11:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to |