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 | 6001e118768fd2b67f6396b2b05ebab82cf8d219 (patch) | |
tree | 77998ac89b0fad3626652a2bd77dd0ca2be06cf4 /ChangeLog | |
parent | 0c0d08f5ef3b68c5d79affe19805487b3c01b481 (diff) | |
download | ruby-6001e118768fd2b67f6396b2b05ebab82cf8d219.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 |