diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-19 03:10:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-19 03:10:12 +0000 |
commit | 9e36a8421df139cb264a4f621180122879398c9d (patch) | |
tree | 77998ac89b0fad3626652a2bd77dd0ca2be06cf4 /ChangeLog | |
parent | 55f87e75866b6e5c1daf7c7624ccb633784243f0 (diff) | |
download | ruby-9e36a8421df139cb264a4f621180122879398c9d.tar.gz |
re.c: fix match?
* re.c (rb_reg_match_m_p): fix match against empty string.
rb_str_offset returns the end when the position exceeds the
length. fix the range parameter of onig_search.
[ruby-core:75604] [Bug #12394]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Thu May 19 12:10:10 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * re.c (rb_reg_match_m_p): fix match against empty string. + rb_str_offset returns the end when the position exceeds the + length. fix the range parameter of onig_search. + [ruby-core:75604] [Bug #12394] + Thu May 19 11:37:36 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * re.c (rb_reg_match_m_p): should return false if no match, as the |