mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* 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
|
||||
* parameter is present, it specifies the position in the string to begin the
|
||||
* 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')[0] #=> "ll"
|
||||
|
|
Loading…
Add table
Reference in a new issue