diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-07 15:55:17 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-07 15:55:17 +0000 |
| commit | 09137df6b5ab326ccfae3717b81008be73a848a0 (patch) | |
| tree | 575dc8f290625cf1ce425c80697dca3cc59d215e /string.c | |
| parent | b38a87f043a4357ac7ac953ad83c9eaf86ae5d2f (diff) | |
| download | ruby-09137df6b5ab326ccfae3717b81008be73a848a0.tar.gz ruby-09137df6b5ab326ccfae3717b81008be73a848a0.tar.xz ruby-09137df6b5ab326ccfae3717b81008be73a848a0.zip | |
* string.c (rb_str_scan): small documentation fix.
[ruby-core:09007]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |
