Project

General

Profile

Actions

Bug #4292

closed

Type of rdoc in string.c

Added by dre3k (Andrei Kulakov) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
1.9.3
Backport:
[ruby-core:34562]

Description

=begin
--- string.c (revision 30594)
+++ string.c (working copy)
@@ -2577,7 +2577,7 @@

  • against str,and returns the position the match starts, or
  • nil if there is no match. Otherwise, invokes
  • obj.=~, passing str as an argument. The default
    • =~ in Object returns false.
    • =~ in Object returns nil.
    • "cat o' 9 tails" =~ /\d/   #=> 7
      
    • "cat o' 9 tails" =~ 9      #=> nil
      

=end


Files

string_rdoc.patch (594 Bytes) string_rdoc.patch fix type of rdoc dre3k (Andrei Kulakov), 01/19/2011 02:32 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0