* string.c: fix rdoc typo.
https://github.com/shyouhei/ruby/pull/3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
89d6841175
commit
f86ca53460
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 5 14:21:34 2011 Mark Dodwell <hi@mkdynamic.co.uk>
|
||||||
|
|
||||||
|
* string.c: fix rdoc typo.
|
||||||
|
https://github.com/shyouhei/ruby/pull/3
|
||||||
|
|
||||||
Wed Jan 5 14:06:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Jan 5 14:06:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
|
* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
|
||||||
|
2
string.c
2
string.c
@ -2611,8 +2611,6 @@ static VALUE get_pat(VALUE, int);
|
|||||||
* then invokes its <code>match</code> method on <i>str</i>. If the second
|
* then invokes its <code>match</code> method on <i>str</i>. If the second
|
||||||
* parameter is present, it specifies the position in the string to begin the
|
* parameter is present, it specifies the position in the string to begin the
|
||||||
* search.
|
* search.
|
||||||
* If the second parameter is present, it specifies the position in the string
|
|
||||||
* to begin the search.
|
|
||||||
*
|
*
|
||||||
* 'hello'.match('(.)\1') #=> #<MatchData "ll" 1:"l">
|
* 'hello'.match('(.)\1') #=> #<MatchData "ll" 1:"l">
|
||||||
* 'hello'.match('(.)\1')[0] #=> "ll"
|
* 'hello'.match('(.)\1')[0] #=> "ll"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user