HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/Regexp/to_s-i.ri
U:RDoc::AnyMethod[iI"	to_s:ETI"Regexp#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"SReturns a string containing the regular expression and its options (using the ;TI"M<code>(?opts:source)</code> notation. This string can be fed back in to ;TI"HRegexp::new to a regular expression with the same semantics as the ;TI"Doriginal. (However, <code>Regexp#==</code> may not return true ;TI"Ewhen comparing the two, as the source of the regular expression ;TI"Hitself may differ, as the example shows).  Regexp#inspect produces ;TI"5a generally more readable version of <i>rxp</i>.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"*r1 = /ab+c/ix           #=> /ab+c/ix
;TI"0s1 = r1.to_s            #=> "(?ix-m:ab+c)"
;TI"0r2 = Regexp.new(s1)     #=> /(?ix-m:ab+c)/
;TI"'r1 == r2                #=> false
;TI"(r1.source               #=> "ab+c"
;TI"/r2.source               #=> "(?ix-m:ab+c)";T:@format0:
@fileI"	re.c;T:0@omit_headings_from_table_of_contents_below0I"rxp.to_s   -> str
;T0[I"();T@FI"Regexp;TcRDoc::NormalClass00