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 | 741a4cefc4bea51ef7ac047e19d1114510b6837b (patch) | |
| tree | 15864b2efc701ab5f48441f9f15f0a2b187049ca /string.c | |
| parent | 39eb8615d46047e37cca41e60273b6a93f684000 (diff) | |
| download | ruby-741a4cefc4bea51ef7ac047e19d1114510b6837b.tar.gz ruby-741a4cefc4bea51ef7ac047e19d1114510b6837b.tar.xz ruby-741a4cefc4bea51ef7ac047e19d1114510b6837b.zip | |
* string.c (rb_str_scan): small documentation fix.
[ruby-core:09007]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4059,7 +4059,7 @@ scan_once(VALUE str, VALUE pat, long *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> |
