diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-20 17:14:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-20 17:14:01 +0000 |
commit | 5376745fb65804a5dafe8f13a5bc9a4ced5c263b (patch) | |
tree | 8333bf73566d95805e169ac2474d5b76d0702cd9 /ChangeLog | |
parent | f4d9d3d39b2018ea5330c1b21db722cd29ca11b4 (diff) | |
download | ruby-5376745fb65804a5dafe8f13a5bc9a4ced5c263b.tar.gz |
* re.c (rb_reg_match_m): evaluate a block if match. it would make
condition statement much shorter, if no else clause is needed.
* string.c (rb_str_match_m): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13475 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 @@ +Fri Sep 21 02:11:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * re.c (rb_reg_match_m): evaluate a block if match. it would make + condition statement much shorter, if no else clause is needed. + + * string.c (rb_str_match_m): ditto. + Fri Sep 21 02:02:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * hash.c (hash_equal): should call rb_eql when argument eql is set. |