* string.c (rb_str_scan): small documentation fix.
[ruby-core:09007] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f25b74a4e0
commit
d2133ab996
@ -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>
|
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
|
* bignum.c (rb_big_rshift): a bug in right shift of negative
|
||||||
|
2
string.c
2
string.c
@ -4059,7 +4059,7 @@ scan_once(VALUE str, VALUE pat, long *start)
|
|||||||
*
|
*
|
||||||
* a.scan(/\w+/) {|w| print "<<#{w}>> " }
|
* a.scan(/\w+/) {|w| print "<<#{w}>> " }
|
||||||
* print "\n"
|
* print "\n"
|
||||||
* a.scan(/(.)(.)/) {|a,b| print b, a }
|
* a.scan(/(.)(.)/) {|x,y| print y, x }
|
||||||
* print "\n"
|
* print "\n"
|
||||||
*
|
*
|
||||||
* <em>produces:</em>
|
* <em>produces:</em>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user