diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-24 07:19:34 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-24 07:19:34 +0000 |
commit | 491cfd93f758330b1c36e6797129006b776532e8 (patch) | |
tree | 94d3897c42c13bda0c5cfa1cb3de05d5cf98ba03 /re.c | |
parent | 6d19b9b4191c86968e547bd121d2472f72150cc2 (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -907,7 +907,9 @@ rb_reg_match_method(re, str) VALUE result = rb_reg_match(re, str); if (NIL_P(result)) return Qnil; - return rb_backref_get(); + result = rb_backref_get(); + rb_match_busy(result, Qtrue); + return result; } static VALUE |