From 7cd78f1d05372ff8ba333a7e5f2513456d4f4526 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 20 Sep 2007 17:14:01 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@13475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2ae99763e..a01cd93ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Sep 21 02:11:22 2007 Yukihiro Matsumoto + + * 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 * hash.c (hash_equal): should call rb_eql when argument eql is set. -- cgit