From eb9266867664d2ba05190d876328a4db9af64220 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 1 Sep 2000 09:18:11 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 01f3f03d1..6343a2af5 100644 --- a/string.c +++ b/string.c @@ -2579,7 +2579,7 @@ rb_str_scan(str, pat) match = rb_backref_get(); rb_match_busy(match); rb_yield(result); - rb_backref_set(match); + rb_backref_set(match); /* restore $~ value */ } rb_backref_set(match); return str; -- cgit