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 | 7cd78f1d05372ff8ba333a7e5f2513456d4f4526 (patch) | |
| tree | 8333bf73566d95805e169ac2474d5b76d0702cd9 /misc | |
| parent | 122a332fad24a44cf98419c48be22812fc467329 (diff) | |
| download | ruby-7cd78f1d05372ff8ba333a7e5f2513456d4f4526.tar.gz ruby-7cd78f1d05372ff8ba333a7e5f2513456d4f4526.tar.xz ruby-7cd78f1d05372ff8ba333a7e5f2513456d4f4526.zip | |
* 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
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions
