diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Oct 7 23:53:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_scan): small documentation fix. + [ruby-core:09007] + Sat Oct 7 23:44:33 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * bignum.c (rb_big_rshift): a bug in right shift of negative @@ -4239,7 +4239,7 @@ scan_once(str, pat, start) * * a.scan(/\w+/) {|w| print "<<#{w}>> " } * print "\n" - * a.scan(/(.)(.)/) {|a,b| print b, a } + * a.scan(/(.)(.)/) {|x,y| print y, x } * print "\n" * * <em>produces:</em> |