%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Regexp/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/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"Q<code>Regexp::new</code> to a regular expression with the same semantics as ;TI"Mthe original. (However, <code>Regexp#==</code> may not return true when ;TI"Kcomparing the two, as the source of the regular expression itself may ;TI"Ldiffer, as the example shows).  <code>Regexp#inspect</code> produces a ;TI"3generally 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

Zerion Mini Shell 1.0